activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: Interfacing with legacy Websphere MQ clients
Date Mon, 08 Dec 2008 15:57:11 GMT
2008/12/4 James Strachan <>:
> 2008/12/4 Stephen J <>:
>> 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...

Here you go - here's an example, which only works against trunk mind
you (or tomorrows 2.0-SNAPSHOT)...

this example shows how you can create a JmsEndpoint and customize the
exact JMS Destination object it uses.


Open Source Integration

View raw message