Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-3618

Allow a JmsOutboundGateway to not require a connectionFactory on initalisation

    XMLWordPrintable

    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.

        Attachments

          Activity

            People

            Assignee:
            grussell Gary Russell
            Reporter:
            paltaie Patrick Altaie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: