I just wanted to encapsulate whatever is needed and being a two lines operation for users. As easy as creating a server. That would be great.
On Wed, Aug 2, 2017 at 7:33 PM Jonathan Gallimore < jonathan.gallim...@gmail.com> wrote: > This is the patch for TomEE: https://github.com/apache/tomee/pull/99/ - > I'm > giving folks an opportunity to give some feedback before I merge it in. All > being well, I should be able to merge that soon. To get this working in > TomEE, Jonathan Fisher actually did the vast majority of the work here, and > posted his service-jar.xml, tomee.xml and setup. I took that an wrapped it > into a little test project here: > https://github.com/jgallimore/artemis-setup > > The core module in this project defines a service-jar.xml file and has > TomEE use that instead of the one that is baked in. The service-jar.xml > file provides the defaults for the resource adapter, connection factory, > queues and topics. Any of these resources which are used in an app, but not > defined in tomee.xml, will pick up these defaults. The distribution module > creates a pre-built TomEE with the necessary artemis jars added, and the > test app includes a tomee.xml config file I used to test. > > Long story short, the following needs to be done to TomEE to use Artemis: > > * This: > > https://github.com/jgallimore/artemis-setup/blob/master/core/src/main/resources/META-INF/org.tomitribe.tomee.artemis/service-jar.xml > needs to be deployed on the classpath > under META-INF/org.tomitribe.tomee.artemis/service-jar.xml > * The system property "openejb.provider.default" needs to be set to > "org.tomitribe.tomee.artemis" (or whatever name you used under META-INF in > the previous step) to pick up the service-jar.xml file > * Add these libraries to TomEE's lib directory: > > https://github.com/jgallimore/artemis-setup/blob/master/distribution/pom.xml#L76-L92 > * Point the RA to the broker: by adding config to conf/tomee.xml: > https://github.com/jgallimore/artemis-setup/blob/master/test/tomee.xml > > Its getting late here now, but I'll take a look at the CLI code tomorrow > evening. Looking forward to working on that and collaborating with you. > > Cheers, > > Jon > > On Thu, Aug 3, 2017 at 12:10 AM, Clebert Suconic < > clebert.suco...@gmail.com> > wrote: > > > If you give me some pointers on what is needed to run Tomee with Artemis? > > > > On Wed, Aug 2, 2017 at 6:42 PM, Jonathan Gallimore > > <jonathan.gallim...@gmail.com> wrote: > > > Sure thing - I'll do that JIRA now and make the change. I haven't done > > much > > > with the CLI (just created a broker really), but I'd love to help out > > with > > > that. I can dig in later this week. No doubt I'll have some questions, > > I'll > > > come back with those once I've taken an initial look. > > > > > > Cheers > > > > > > Jon > > > > > > On Wed, Aug 2, 2017 at 11:38 PM, Clebert Suconic < > > clebert.suco...@gmail.com> > > > wrote: > > > > > >> I just requested you a change (just adding a JIRA to the commit) > > >> > > >> > > >> and would you help us documenting, and perhaps contributing a patch to > > >> the CLI? we can collaborate on that. > > >> > > >> On Wed, Aug 2, 2017 at 6:29 PM, Clebert Suconic > > >> <clebert.suco...@gmail.com> wrote: > > >> > Will merge it shortly. > > >> > > > >> > > > >> > I wanted to have the cli being able to install the RA on tommee. > > Like: > > >> > > > >> > > > >> > Artemis tomee /tomeefolder > > >> > > > >> > On Wed, Aug 2, 2017 at 5:55 PM jgallimore < > > jonathan.gallim...@gmail.com> > > >> > wrote: > > >> >> > > >> >> I appreciate this is quite an old thread... but I think I have a > > working > > >> >> patch for TomEE that enables TomEE to use Artemis as a JMS > provider. > > The > > >> >> only issue that I have run into is that TomEE's proxy generation > > >> >> effectively > > >> >> creates a subclass, and the 'final' modifier on > > >> >> org.apache.activemq.artemis.ra.ActiveMQRASession prevents this from > > >> >> working. > > >> >> > > >> >> Is it possible to remove this modifier? I created a PR here: > > >> >> https://github.com/apache/activemq-artemis/pull/1437 > > >> >> > > >> >> Any feedback is welcome. Thanks in advance. > > >> >> > > >> >> Jon > > >> >> > > >> >> > > >> >> > > >> >> -- > > >> >> View this message in context: > > >> >> http://activemq.2283324.n4.nabble.com/Anyone-have- > > >> Artemis-working-with-Apache-TomEE-tp4702611p4729190.html > > >> >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > >> > > > >> > -- > > >> > Clebert Suconic > > >> > > >> > > >> > > >> -- > > >> Clebert Suconic > > >> > > > > > > > > -- > > Clebert Suconic > > > -- Clebert Suconic