You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by James Carr <ja...@gmail.com> on 2011/06/20 22:53:16 UTC

AMQP Component

Hi All,

I was going to spend some time today investigating using Apache Camel
with RabbitMQ but according to
https://issues.apache.org/jira/browse/CAMEL-3626 it looks like the
version of qpid camel uses is outdated.

I tried to exclude 0.5 and used 0.10 but I still get weird errors
("java.lang.UnsupportedOperationException: The new addressing based
sytanx is not supported for AMQP 0-8/0-9 versions").

Surely someone is using Apache Camel's AMQP component in production
with RabbitMQ? :)


Thanks,
James

Re: AMQP Component

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

I suggest to ask at the Apache qpid community about qpid integration
with RabbitMQ.

For example searching their mailing list, shows other ppl struggle with this
http://apache-qpid-users.2158936.n2.nabble.com/template/NamlServlet.jtp?macro=search_page&node=2158936&query=rabbitmq



On Thu, Sep 15, 2011 at 4:33 PM, Sergey B <sb...@yahoo.com> wrote:
> Still getting the same error after upgrading to camel 2.8.0. Tried excluding
> qpid 0.10 and using newer 0.12, still no luck. Including 'mvn
> dependency:tree' snippet and log output.
>
> [INFO] +- org.apache.camel:camel-amqp:jar:2.8.0:compile
> [INFO] |  +- org.apache.camel:camel-jms:jar:2.8.0:compile
> [INFO] |  |  +- org.springframework:spring-jms:jar:3.0.5.RELEASE:compile
> [INFO] |  |  \- org.springframework:spring-beans:jar:3.0.5.RELEASE:compile
> [INFO] |  +- org.apache.mina:mina-core:jar:1.0.1:compile
> [INFO] |  \- commons-lang:commons-lang:jar:2.3:compile (version managed from
> 2.4)
> [INFO] +- org.apache.qpid:qpid-client:jar:0.12:compile
> [INFO] +- org.apache.qpid:qpid-common:jar:0.12:compile
>
>
> 2011/09/15 09:27:30:193 CDT [WARN] JmsMessageListenerContainer - Setup of
> JMS message listener invoker failed for destination 'test-queue' - trying to
> recover. Cause: The new addressing based sytanx is not supported for AMQP
> 0-8/0-9 versions
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/AMQP-Component-tp4508042p4807050.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Re: AMQP Component

Posted by Sergey B <sb...@yahoo.com>.
Still getting the same error after upgrading to camel 2.8.0. Tried excluding
qpid 0.10 and using newer 0.12, still no luck. Including 'mvn
dependency:tree' snippet and log output. 

[INFO] +- org.apache.camel:camel-amqp:jar:2.8.0:compile
[INFO] |  +- org.apache.camel:camel-jms:jar:2.8.0:compile
[INFO] |  |  +- org.springframework:spring-jms:jar:3.0.5.RELEASE:compile
[INFO] |  |  \- org.springframework:spring-beans:jar:3.0.5.RELEASE:compile
[INFO] |  +- org.apache.mina:mina-core:jar:1.0.1:compile
[INFO] |  \- commons-lang:commons-lang:jar:2.3:compile (version managed from
2.4)
[INFO] +- org.apache.qpid:qpid-client:jar:0.12:compile
[INFO] +- org.apache.qpid:qpid-common:jar:0.12:compile


2011/09/15 09:27:30:193 CDT [WARN] JmsMessageListenerContainer - Setup of
JMS message listener invoker failed for destination 'test-queue' - trying to
recover. Cause: The new addressing based sytanx is not supported for AMQP
0-8/0-9 versions


--
View this message in context: http://camel.465427.n5.nabble.com/AMQP-Component-tp4508042p4807050.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: AMQP Component

Posted by Claus Ibsen <cl...@gmail.com>.
On Wed, Sep 14, 2011 at 3:46 PM, Sergey B <sb...@yahoo.com> wrote:
> Willem,
>
> I am running into the same issue, made sure to exclude all qpid artifacts
> from camel AMQP component.  Here's a snippet of 'mvn dependency:tree'
> output:
>
> [INFO] +- org.apache.camel:camel-amqp:jar:2.7.2:compile
> [INFO] |  +- org.apache.camel:camel-jms:jar:2.7.2:compile
> [INFO] |  |  +- org.springframework:spring-jms:jar:3.0.5.RELEASE:compile
> [INFO] |  |  \- org.springframework:spring-beans:jar:3.0.5.RELEASE:compile
> [INFO] |  +- org.apache.mina:mina-core:jar:1.0.1:compile
> [INFO] |  \- commons-lang:commons-lang:jar:2.3:compile (version managed from
> 2.4)
> [INFO] +- org.apache.qpid:qpid-client:jar:0.12:compile
> [INFO] +- org.apache.qpid:qpid-common:jar:0.12:compile
>
> After 3 days of battling with this, I can safely say Apache Camel does not
> work with RabbitMQ.
>

You need to use Camel 2.8.0 as the camel-amqp component have been
upgraded and uses the Apache qpid 0.10 release.


> --
> View this message in context: http://camel.465427.n5.nabble.com/AMQP-Component-tp4508042p4802803.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Re: AMQP Component

Posted by Sergey B <sb...@yahoo.com>.
Willem,

I am running into the same issue, made sure to exclude all qpid artifacts
from camel AMQP component.  Here's a snippet of 'mvn dependency:tree'
output:

[INFO] +- org.apache.camel:camel-amqp:jar:2.7.2:compile
[INFO] |  +- org.apache.camel:camel-jms:jar:2.7.2:compile
[INFO] |  |  +- org.springframework:spring-jms:jar:3.0.5.RELEASE:compile
[INFO] |  |  \- org.springframework:spring-beans:jar:3.0.5.RELEASE:compile
[INFO] |  +- org.apache.mina:mina-core:jar:1.0.1:compile
[INFO] |  \- commons-lang:commons-lang:jar:2.3:compile (version managed from
2.4)
[INFO] +- org.apache.qpid:qpid-client:jar:0.12:compile
[INFO] +- org.apache.qpid:qpid-common:jar:0.12:compile

After 3 days of battling with this, I can safely say Apache Camel does not
work with RabbitMQ.

--
View this message in context: http://camel.465427.n5.nabble.com/AMQP-Component-tp4508042p4802803.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: AMQP Component

Posted by Willem Jiang <wi...@gmail.com>.
Maybe you didn't excludes all the qpid artifacts from camel AMQP component.
Can you use mvn dependency:tree to check the artifacts versions?


On 6/21/11 4:53 AM, James Carr wrote:
> Hi All,
>
> I was going to spend some time today investigating using Apache Camel
> with RabbitMQ but according to
> https://issues.apache.org/jira/browse/CAMEL-3626 it looks like the
> version of qpid camel uses is outdated.
>
> I tried to exclude 0.5 and used 0.10 but I still get weird errors
> ("java.lang.UnsupportedOperationException: The new addressing based
> sytanx is not supported for AMQP 0-8/0-9 versions").
>
> Surely someone is using Apache Camel's AMQP component in production
> with RabbitMQ? :)
>
>
> Thanks,
> James
>


-- 
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
          http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang