Re: Artemis Core XA Example

2016-10-25 Thread Quinn Stevenson
I would say just use camel-jms (http://camel.apache.org/jms.html ) or camel-sjms (http://camel.apache.org/sjms.html ). > On Oct 25, 2016, at 2:56 PM, Clebert Suconic > wrote: > > I guess I should

Re: Artemis Core XA Example

2016-10-25 Thread Clebert Suconic
I guess I should add that to the FAQ. I get this question once in a while. How would we describe it? there's no need for an Artemiq-Camel component at the moment, just use what? Any camel specialist can provide me a simple answer to add to the doc? On Tue, Oct 25, 2016 at 12:22 PM, Quinn

Re: Artemis Core XA Example

2016-10-25 Thread Quinn Stevenson
I don’t think an equivalent for the “activemq-broker” Camel component is needed - just my opinion there. As far as a “artemis-camel” or “camel-artemis” component goes, I don’t think one is “needed” - but I’m wondering if a specific component could provide any value over using just the JMS

Re: Artemis Core XA Example

2016-10-24 Thread Clebert Suconic
- There is an “activemq-camel” component today, and since Artemis is slated to become the next “ActiveMQ”, I was looking for functional equivalents. This is actually what started the whole question for me, because I can do everything I need to do in core Artemis without muddying the waters with

Re: Artemis Core XA Example

2016-10-24 Thread Quinn Stevenson
I can stick with JMS - I’ve used JMS servers for a long time, and I can get what I need done that way. There are a couple of reasons behind the question: - I try to keep my dependencies to a minimum. When I use JMS in camel currently, I use camel-sjms whenever I can (basically whenever I

Re: Artemis Core XA Example

2016-10-20 Thread Clebert Suconic
the JMS layer on Artemis is a thin layer on top of the Core API. I would stick to JMS or JMS2. There are some extra controls you can have on addresses and queues but that will soon also come into JMS after martyn is done with the refactoring on addressing here:

Re: Artemis Core XA Example

2016-10-19 Thread Tim Bain
What's the reason behind wanting to avoid using the JMS layer in favor of the proprietary Artemis core API? I've not done anything with Artemis, so this is very much a question from a place of ignorance, but Quinn's statement sounded a lot like "I only want to use Hibernate-proprietary APIs, none

Re: Artemis Core XA Example

2016-10-18 Thread Clebert Suconic
On Tue, Oct 18, 2016 at 12:45 PM, Quinn Stevenson wrote: > Clebert - > > Thank you for your input! > > I try and avoid XA transactions whenever possible as well. I do have a few > customers that insist on transactions when they do JMS->JMS routes (the JMS >

Re: Artemis Core XA Example

2016-10-18 Thread Quinn Stevenson
Clebert - Thank you for your input! I try and avoid XA transactions whenever possible as well. I do have a few customers that insist on transactions when they do JMS->JMS routes (the JMS destination are in different brokers/servers - hence the need for XA). This is really the last piece I

Re: Artemis Core XA Example

2016-10-18 Thread Clebert Suconic
Most of the usecases around XA are around an application server, and hence around MDBs, And JMS. ClientSession extends XAResource so you should be able to use / enlist on a Transaction Manager, or if you really wanted (I'm not advising you) you could play the TransactionManager on some fakes (for