Announcement Announcement Module
No announcement yet.
How to Register Message Channel? Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to Register Message Channel?


    First of all i'm very new to spring integration.

    how could i register a message channel by using code?

    I have gone through some example from this forum and other site for the dynamic kind of message channel creation.

    How could i register the message channel for the integration router to route to it?

    As i search through most of the site the suggested method was to used the message-bus to register the dynamic channel. Would this be the solution for registering a dynamic channel?

    Below is some code wrote by me to create a message channel correct me if i'm wrong:
    String tempChannelName = "testing";
    AbstractMessageChannel channel = new PublishSubscribeChannel();