activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Interfacing with legacy Websphere MQ clients
Date Thu, 04 Dec 2008 16:23:06 GMT
2008/12/4 Stephen J <stephen.joyner@mclaneco.com>:
>
> If I try with camel I receive the following error:
>
> Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to
> resolve endpoint: mqtestserver://TEST.OUTBOUND?targetClient=1 due to: There
> are 1 parameters that couldn't be set on the endpoint. Check the uri if the
> parameters are spelt correctly and that they are properties of the endpoint.
> Unknown parameters=[{targetClient=1}]

Sorry my mistake - Camel tries to interpret the ?foo=bar query
notation on an endpoint URI - you have to instead set the destination
name on the JmsEndpoint explicitly (e.g. use the constructor).

I've nearly got an example in trunk - gimme an hour...

-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://fusesource.com/

Mime
View raw message