camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: can i configure ActiveMQ in Camel with JAVA
Date Wed, 12 Dec 2012 08:16:35 GMT
On Wed, Dec 12, 2012 at 7:07 AM, yuneki <> wrote:
> hi
> i'm newbie.
> We making very lightweight File&DB integrate server with camel only used
> i think.. it embed ActiveMQ in ours Solution(camel based, next time it calls
> FDI)
> but i cant ActiveMQ configuration repo DB, path, etc...
> i made CustomComponent CLASS extends ActiveMQComponent
> its only configure poolling , Connection set
> and added to camelContext with "activemq" named instead of ActiveMQComponent
> i'm in stuck why i cant do configuration DB, path, etc.. ?
> i tried googling googling.. goo goo goo
> but that says only spring based XML configure . TT
> plz help me~

You can configure the ActiveMQ or JMS component using the getter/setter.

And there is also a JmsConfiguration class that has all the options you can set.
And then you can set this configuration on the ActiveMQ or JMS component.

So what you can do in XML you can do in Java. Just take a 2nd look.

Also many of the unit tests of camel-jms etc is using java code.

> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Red Hat, Inc.
FuseSource is now part of Red Hat
Twitter: davsclaus
Author of Camel in Action:

View raw message