Announcement Announcement Module
Collapse
No announcement yet.
Socket call during incoming web service call. Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Socket call during incoming web service call.

    Hi,

    I am trying to figure out how to make a socket call during a inbound web service call. I am using Spring WS to handle the incoming call which puts the message on a channel. That message is then sent to a server via a tcp-outbound-channel-adapter and a tcp-connection-factory.

    This all works fine but I can not figure out how to get the response back to the method the received the web service call. Could you point me to a example that demonstrates something similar to this?

    Thanks

    Frank

  • #2
    Hi!

    What do you want to achieve: what is your response, maybe <tcp-outbound-gateway> is OK for you?
    Of course you can use <recepient-list-router> or <publish-subscribe-channel> to send Message to the tcp-endpoint and into ws-response channel.

    Explain, please, a bit more your use-case

    Take care,
    Artem

    P.S. tcp-samples: https://github.com/SpringSource/spri...basic/tcp-amqp
    https://github.com/SpringSource/spri...-client-server

    Comment


    • #3
      Cleric,

      You are correct. I got to thinking about it more and it looks like the tcp_outbound_gateway is what I need. Thanks a lot to the forum for your continued support!

      Frank

      Comment

      Working...
      X