Details
-
Type:
Improvement
-
Status: Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 4.1.2
-
Fix Version/s: None
-
Component/s: JMS Support
-
Labels:None
Description
With Spring Integration 4.1.2.RELEASE, it is not possible to configure a JmsOutboundGateway without a Connection Factory reference. This means that if I want to/can only figure out a Connection Factory at runtime, I need to supply some kind of fake, dummy or generic CF which will never be used, and I would then set the connection factory to whichever one it is that I need.
I think it would be fruitful to somehow be able to support not having the connectionFactory property set, such that this can be determined later on.
I see that the JmsOutboundGateway uses the JmsTemplate, which also has this limitation, so I'm not sure how feasible or easy to implement this would be.