Announcement Announcement Module
Collapse
No announcement yet.
JMS replyToName in URI Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • JMS replyToName in URI

    Hi,

    I'm using Spring web services for the the first time and trying to connect to Websphere MQ as a client. I followed the receipe in the docs and was partly successful.

    The request queue and response queue are configured using a uri like this:
    Code:
    jms:requestQueue?replyToName=responseQueue
    However, I was getting errors with replyToName - it turns out that this accepts queues of the form \w+ whereas the reply queue given to me looks like ESB.FOO.BAR.RSP.V01 which doesn't match.

    I got round this by modifying JmsTransportUtils with this line:
    Code:
    private static final Pattern REPLY_TO_NAME_PATTERN = Pattern.compile("replyToName=([A-Za-z0-9.]+)");
    So the JMS request fires without any exceptions, but at time of writing, I still haven't got a reply because it times out, so i'm not sure yet if this is really a solution.

    Jamie
Working...
X