Re: Start and Stop ActiveMQ consuming

2016-12-19 Thread Quinn Stevenson
ntar&action=start"); > > So How could I accomplish it ?? > > Thanks in advance > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Start-and-Stop-ActiveMQ-consuming-tp5791701.html > Sent from the Camel - Users mailing list archive at Nabble.com.

Start and Stop ActiveMQ consuming

2016-12-19 Thread DanielArias
ow could I accomplish it ?? Thanks in advance -- View this message in context: http://camel.465427.n5.nabble.com/Start-and-Stop-ActiveMQ-consuming-tp5791701.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel activemq consuming duplicate/newer/filtering

2016-06-27 Thread fliot
ued messages if there are some other messages with "object_id=zzz" header, and just picking up the newer one - and trashing others). Thanks in advance, Best regards. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-activemq-consuming-duplicate-newer-filtering-tp5

Re: ActiveMQ Consuming

2016-03-11 Thread Stanisław Kuś
Hi, I solved it as follows: 1. Each Broker -> One JMSTransactionMager with ConnectionPool. 2. Each Broker -> separated Route 3. Whole construction with SpringTransactionPolicy set in transacted() 4. Routes created & started at runtime Best, Stan On Sat, Feb 13, 2016 at 5:32 PM, Quinn Stevenso

Re: ActiveMQ Consuming

2016-02-13 Thread Quinn Stevenson
It sounds like you’re not using any other endpoints that support transactions, so all you should need is the “transacted=true” URI - I don’t think you’ll need an external transaction manager. > On Feb 12, 2016, at 1:09 PM, Stanisław Kuś wrote: > > Hi, > > 1. Each message from each Jms should

Re: ActiveMQ Consuming

2016-02-12 Thread Stanisław Kuś
Hi, 1. Each message from each Jms should be processed in a separated transaction and will be passed to a webservice. Additionaly basen on a certain message part a file will be transfered from one ftp to another. 2. For each message independend from which broker it comes a new transaction should b

Re: ActiveMQ Consuming

2016-02-12 Thread Quinn Stevenson
Two questions - - What are the other transaction endpoints you’ll be using? - Will messages from both broker1 and broker2 be involved in the same transaction? > On Feb 12, 2016, at 1:19 AM, Stanisław Kuś wrote: > > Hi, > > thanks for answering. I have two separate servers running ActiveMQ (

Re: ActiveMQ Consuming

2016-02-12 Thread Stanisław Kuś
Hi, thanks for answering. I have two separate servers running ActiveMQ ( my datasources ) and a single Camel App that should consume from those 2 instances in a transactional way. What I can do is from( broker1:queue:source, broker2:queue:source).process( . The problem is what transaction ma

Re: ActiveMQ Consuming

2016-02-11 Thread Quinn Stevenson
You can always have two “from” clauses and route the exchange to a direct route for the common processing. from( “activemq1://queue1”).to( “direct://process ); from( “activemq2://queue2”).to( “direct://process ); from( “direct://process” )……. Can you give a little more detail on what you’re try

ActiveMQ Consuming

2016-02-11 Thread Stanisław Kuś
Hi folks, I have a short question : Is it possible to consume from 2 different brokers within a single Route with transactions. something like form("activemq1:queue1", "activemq2:queue" ) Do I need to specify a separate transaction manager pro ActiveMQConnectionFactory instance or is ther