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

  • How to Register Message Channel?

    Hi,

    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();
    channel.setBeanName(tempChannelName);
Working...
X