Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: Problem with pub-sub channel routing

  1. #11

    Default

    BTW,

    Getting the response channel as an object and putting it back on the outgoing web service message worked! Looks like you do support this use case. You just have to use the MessageChannel object with the header-enhancer instead of a string and it works like a champ!

    Thanks for all your help,

    Frank

  2. #12
    Join Date
    Jan 2008
    Location
    Mohnton, PA USA (that's near Philadelphia)
    Posts
    2,148

    Default

    I was gonna suggest the same thing, but was on the road ta the time so I am glad you figured it out.

  3. #13
    Join Date
    Mar 2010
    Location
    Gtr Philadelphia, PA
    Posts
    2,028

    Default

    Glad you figured it out; sorry I wasn't able to participate in the discussion (thanks Oleg!).

    For other readers of the thread, there is an alternative approach to reinstating the replyChannel header when using paired adapters explored in this sample: https://github.com/SpringSource/spri...rver-multiplex

    This probably only a good solution for simple request/response applications, rather than multi-use as in the case of this thread.
    Gary P. Russell
    Spring Integration Team
    SpringSource, a division of VMware

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •