You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by almos <al...@ukr.net> on 2013/04/17 17:03:55 UTC

2 activemq instances

Hi,

I want to have 2 ActiveMQ instances configured in single TomEE instance 1
embedded and 1 external.
Is it supported in TomEE? How to configure MDBs in these regards?

Thanks,
Alex



--
View this message in context: http://openejb.979440.n4.nabble.com/2-activemq-instances-tp4662322.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: 2 activemq instances

Posted by Romain Manni-Bucau <rm...@gmail.com>.
if you define multiple MDB container you'll need to link your beans thanks
to openejb-jar.xml file http://tomee.apache.org/details-on-openejb-jar.html

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/4/18 Jean-Louis MONTEIRO <je...@gmail.com>

> Hi,
>
> yes it is possible AFAIR.
> You have to override defaults, I mean the default MESSAGE container, the
> default ResourceAdapter and the Default Connection factory.
> Then, you just have to define another set of MESSAGE container, etc
>
> The broker connection configuration is defined on the ResourceAdapter part.
>
> JLouis
>
>
> 2013/4/17 almos <al...@ukr.net>
>
> > Hi,
> >
> > I want to have 2 ActiveMQ instances configured in single TomEE instance 1
> > embedded and 1 external.
> > Is it supported in TomEE? How to configure MDBs in these regards?
> >
> > Thanks,
> > Alex
> >
> >
> >
> > --
> > View this message in context:
> > http://openejb.979440.n4.nabble.com/2-activemq-instances-tp4662322.html
> > Sent from the OpenEJB User mailing list archive at Nabble.com.
> >
>
>
>
> --
> Jean-Louis
>

Re: 2 activemq instances

Posted by Jean-Louis MONTEIRO <je...@gmail.com>.
Hi,

yes it is possible AFAIR.
You have to override defaults, I mean the default MESSAGE container, the
default ResourceAdapter and the Default Connection factory.
Then, you just have to define another set of MESSAGE container, etc

The broker connection configuration is defined on the ResourceAdapter part.

JLouis


2013/4/17 almos <al...@ukr.net>

> Hi,
>
> I want to have 2 ActiveMQ instances configured in single TomEE instance 1
> embedded and 1 external.
> Is it supported in TomEE? How to configure MDBs in these regards?
>
> Thanks,
> Alex
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/2-activemq-instances-tp4662322.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>



-- 
Jean-Louis