Hi Lasse Thanks for sharing this.
It would be lovely if the amqp doc page could be improved http://camel.apache.org/amqp Currently its lacking details. So if anyone wanna help with this please contribute. To be able to edit the docs yourself please read this http://camel.apache.org/how-do-i-edit-the-website.html If you dont have an ICLA on file at ASF then you can still contribute doc updates by using the JIRA ticket and attach a file with [x] in grant license to ASF. Although we encourage ppl to file an ICLA so you can update the docs yourself. And also its one step closer to become a committer at any Apache project, as an ICLA would be required. On Wed, Aug 22, 2012 at 9:46 AM, helander <[email protected]> wrote: > I discovered that the most interestinf info was lost in my previous post (was > using the raw tag in Nabble, and that seemed to be filtered by e-mail > systems). So here it comes again: > > > I have come up with a workaround to the NPE problem with Qpid. > > The root of the problem is that Qpid is not able to correctly compare two > destinations that has not been fully qualified in their definitions. In > other parts of the Qpid API, assumptions are made on how to interpret > destinations that has not been fully qualified, but this is not reflected by > the equals-method of AMQDestination. > > The "workaround" is to make sure that you provide fully qualified > destinations, and one way I have found to do that in conjunction with Camel > uri specifications are according to the following example: > > <to uri="amqpbroker:queue:BURL:direct://amq.direct//myqueue" > > where the name of the queue is <b>myqueue*. > > If you are using topics instead of queues, the corresponding syntax should > be > > > <to uri="amqpbroker:queue:BURL:topic://amq.topic//mytopic" > > > I am not using topics at the moment, so I can not vouch for that the syntax > is correct in that case. > > > Sorry for any confusion created > > Lars > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Connection-pooling-with-camel-amqp-tp5716936p5717827.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen
