Re: Re-ordering of messages - Artemis

2017-11-23 Thread alisu
Thanks Justin, got my routes now running inside Artemis server. -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html

Re: Re-ordering of messages - Artemis

2017-11-21 Thread Justin Bertram
There really shouldn't be any reason to use the activemq-camel dependency. Here's an example pom.xml that I've used to build a web-app with a Camel context: http://maven.apache.org/POM/4.0.0"; xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation=" http://maven.apache.org/POM

Re: Re-ordering of messages - Artemis

2017-11-21 Thread alisu
I have managed to sort out the dependency conflict problem. Actually both camel-spring and activemq-camel come with jaxb. So I just made sure they both use the same version of jaxb. e.g. by using activemq-camel-5.15.1 and camel-spring-2.20.1 where they both use jaxb-2.2.11. -- Sent from: http://

Re: Re-ordering of messages - Artemis

2017-11-20 Thread alisu
Hi Justin, My thought was, just like ActiveMQ, this could simply be done without the need to integrate spring into the the server. I have created a web application as per the link you pointed to, and add the following details inside web.xml and applicationContext.xml files. *web.xml* / http://www

Re: Re-ordering of messages - Artemis

2017-11-20 Thread Justin Bertram
> Where am I getting wrong? The fact that you're attempting to modify broker.xml and/or bootstap.xml indicates to me that you didn't understand my comment on Stackoverflow. I specifically noted that you need to use "a web application with a Camel context," and linked to some documentation on that

Re: Re-ordering of messages - Artemis

2017-11-20 Thread alisu
Thanks Justin and gtully for your responses. As Justin said, it is possible t run camel routes inside the broker, now I have been experimenting with this. First, I have tried this with ActiveMQ 5.15.1 as described in [1], and everything works fine. But when I do the same thing with Artemis, by addi

Re: Re-ordering of messages - Artemis

2017-11-17 Thread Gary Tully
> > > Justin > > [1] > > https://stackoverflow.com/questions/47333287/re-ordering-of-messages-artemis > > On Thu, Nov 16, 2017 at 6:34 AM, alisu wrote: > > > In my use case, I have to run two instances of the same application that > > read > > messages

Re: Re-ordering of messages - Artemis

2017-11-16 Thread Justin Bertram
I responded to your same post over on Stackoverflow [1]. In order to avoid confusion it might be best not to post the same question in multiple places. Justin [1] https://stackoverflow.com/questions/47333287/re-ordering-of-messages-artemis On Thu, Nov 16, 2017 at 6:34 AM, alisu wrote: >

Re-ordering of messages - Artemis

2017-11-16 Thread alisu
In my use case, I have to run two instances of the same application that read messages from 'queue-1' and write them back to another queue 'queue-2'.  I need my messages inside the two queues to be ordered by specific property (sequence number) which is initially added to every message by producer.