Results 1 to 3 of 3

Thread: jms-gateway howto?

  1. #1
    Join Date
    May 2008
    Posts
    6

    Default jms-gateway howto?

    I tried the new <jms-gateway/> adapter, but could not get it to work. I defined it like this :

    <jms-gateway request-channel="action" reply-channel="response" connection-factory="connectionFactory" destination-name="sms.gateway.entry" reply-timeout="5" id="gateway"/>

    When sending to the "action" channel, thing seems to hang indefinitly and nothing gets sent to the queue. Is there something I've missed ? How does the reply queue gets set ?

  2. #2
    Join Date
    Oct 2005
    Location
    Boston, MA
    Posts
    2,840

    Default

    The "jms-gateway" is actually for request-reply operations *initiated from* a JMS queue where the Message is converted and then sent to the Spring Integration channel. Based on your question, I think you might be expecting the opposite?

    Also, you might want to increase that reply-timeout (the value is in milliseconds).

    BTW, the gateway will be documented in the M4 release which will be available within a few days.

  3. #3
    Join Date
    May 2008
    Posts
    6

    Default

    Ok. Then I'd misunderstood the use, and I was indeed expecting the opposite. The next question obvoiusly : What is the best strategry for implementing e request/reply scheme initiaded from a message channel ? If at all possible...

Posting Permissions

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