You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by exabrial12 <ex...@gmail.com> on 2013/05/07 20:38:18 UTC

Is Apache Camel present with the ActiveMQ Distribution in TomEE?

ActiveMQ and Apache Camel are supposed to have a pretty close relationship.

* Are both of these technologies present in the TomEE+ distribution?
* If not, what jars would I need to add?
* Is this a terrible idea?

* Would it better to have an ActiveMQ/Camel broker run externally and
connect TomEE to it?

Cheers,
-Jonathan



--
View this message in context: http://openejb.979440.n4.nabble.com/Is-Apache-Camel-present-with-the-ActiveMQ-Distribution-in-TomEE-tp4662715.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: Is Apache Camel present with the ActiveMQ Distribution in TomEE?

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi

Using maven it is trivial, just valid camel transitive deps which are awful.

Camel is not packaged by default as you can see in tomee libs but all works
fine as in tomcat
Le 8 mai 2013 08:23, "exabrial12" <ex...@gmail.com> a écrit :

> ActiveMQ and Apache Camel are supposed to have a pretty close relationship.
>
> * Are both of these technologies present in the TomEE+ distribution?
> * If not, what jars would I need to add?
> * Is this a terrible idea?
>
> * Would it better to have an ActiveMQ/Camel broker run externally and
> connect TomEE to it?
>
> Cheers,
> -Jonathan
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Is-Apache-Camel-present-with-the-ActiveMQ-Distribution-in-TomEE-tp4662715.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Re: Is Apache Camel present with the ActiveMQ Distribution in TomEE?

Posted by Charles Moulliard <ch...@gmail.com>.
Hi Jonathan,

I don't think that Apache Camel is packaged in TomEE. Depending what you
plan to do, you can deploy Camel as WAR and uses CDI to inject CamelContext
(http://camel.apache.org/cdi). Alternative is to use Camel + Spring (
http://camel.apache.org/tutorial-on-using-camel-in-a-web-application.html)
I recommend also that you run ActiveMQ separately as the goal of a broker
is not to run embedded in a Web or JEE container. But for applications
where persistence is not required, number of messages to be
produced/consumed from queues/topics are not important, you can imagine to
run ActiveMQ within the JVM of Tomcat.

Regards,



On Tue, May 7, 2013 at 8:38 PM, exabrial12 <ex...@gmail.com> wrote:

> ActiveMQ and Apache Camel are supposed to have a pretty close relationship.
>
> * Are both of these technologies present in the TomEE+ distribution?
> * If not, what jars would I need to add?
> * Is this a terrible idea?
>
> * Would it better to have an ActiveMQ/Camel broker run externally and
> connect TomEE to it?
>
> Cheers,
> -Jonathan
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Is-Apache-Camel-present-with-the-ActiveMQ-Distribution-in-TomEE-tp4662715.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>



-- 
Charles Moulliard
Apache Committer / Sr. Enterprise Architect (RedHat)
Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com