2008/12/4 Stephen J <[EMAIL PROTECTED]>: > > 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/