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:
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.Code:jms:requestQueue?replyToName=responseQueue
I got round this by modifying JmsTransportUtils with this line:
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.Code:private static final Pattern REPLY_TO_NAME_PATTERN = Pattern.compile("replyToName=([A-Za-z0-9.]+)");
Jamie


Reply With Quote