Announcement Announcement Module
Collapse
No announcement yet.
Annotation Configuration of Channels for Endpoints/Services Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Annotation Configuration of Channels for Endpoints/Services

    Greetings.

    I have an application were a variable number of Services (SI ServiceActivators) may be deployed. Which Services are deployed is determined at Runtime. (Especially as some are ONLY deployed in a test environment!) I have a Router (listening for messages from a JMS Q) which can compute which Service a Message is to go to, and therefore compute which channel a Message should be sent on.

    At one point, <message-bus auto-create-channels="true"/> looked like it would handle my needs -- but this has been disabled for SI 2.x.

    Question: How can I dynamically (or via annotation in the ServiceActivator or an enclosing/related class) configure a channel for use?


    Regards,
    Steve

  • #2
    I just realized that I could have been a little bit clearer:
    In my project, its not always known until runtime what classes & modules are available, so is there a way to configure the channels to create via annotations?

    -Steve

    Comment


    • #3
      Should I need to mention that <int:annotation-config/> does NOT create the channel, even though this is implied in http://static.springsource.org/sprin...e/#annotations??

      Regards,
      Steve

      Comment

      Working...
      X