Camel 2.4.0 XA JMS Rollback

2011-02-21 Thread Greenbean
I am using Camel 2.4.0, ActiveMQ 5.3, Java 6u23, Spring 3.0.3. I am having a problem with XA rollbacks not causing redelivery or message transfer to the dead letter queue in ActiveMQ when using Camel. We have similar processing in the same container that is not using Camel, and rollback and tran

RE: EXTERNAL:Re: Camel Transacted Routes With ActiveMQ And Bitronix

2011-01-19 Thread Greenbean
-901122087-24...@n5.nabble.com] Sent: Wednesday, January 19, 2011 10:11 AM To: Urciolo, Kevin J (IS) Subject: EXTERNAL:Re: Camel Transacted Routes With ActiveMQ And Bitronix Hello Greenbean, sorry i have no solution since i have a very similar problem... Do you have some sort of solution

Camel Transacted Routes With ActiveMQ And Bitronix

2010-11-09 Thread Greenbean
Reposting after subscribing to mail list... I am getting an error when using Camel to consumer a JMS message in a FROM as part of a route in a JTA transactions using Bitronix. The error below appears when "allowLocalTransactions" in Bitronix is false. If I set "allowLocalTransactions" to true,

XAResource has not been enlisted

2010-05-21 Thread greenbean
I am having trouble working with JTA transactions from JBoss 4, ActiveMA 5.3 and Camel 2.2. JMS transactions do not produce problems. However, we would like JTA since we are working with two databases and JMS. A jms exception containing "Session's XAResource has not been enlisted in a distribut

Camel ActiveMQActivationSpec Component

2010-04-07 Thread greenbean
Has anyone created a component like the ActiveMQComponent, but one that utilizes the org.apache.activemq.ra.ActiveMQActivationSpec? Would it be difficult to do this? This version would not require polling behavior, correct? Thanks. -- View this message in context: http://old.nabble.com/Camel-

Re: Bean Binding Config In Spring XML Instead Of Annotations

2010-01-02 Thread greenbean
Are parameter indexes currently supported in the XML? I looked around the examples and source code for the bean component, and could not find it. There is a ParameterInfo class, but I am not sure if that can be constructed based on input from DSL. Claus Ibsen-2 wrote: > > > No its not poss

Bean Binding Config In Spring XML Instead Of Annotations

2010-01-01 Thread greenbean
Is it possible to do something similar to what is done with annotations, but in Spring XML? doSomething(@Header(value = "header1") String headerValue1, @Body String body) Say I don't want to use Camel annotations in my POJO. However, I would like to bind "header1" to my headerValue1 parameter

Atomikos Transactions Created In Polling Type Fashion By ActiveMQ Component

2009-12-16 Thread greenbean
We are using Camel 2.0, ActiveMQ 5.3, Oracle, and the latest Atomikos for an XA transaction manager with Spring 2.5. Everything seems to work fine with transaction commits and rollbacks. However, Atomikos is constantly creating transactions associated with routes that consume messages using the

Re: Camel 2.0 Transaction Rollback

2009-07-21 Thread greenbean
in the mail. Could you try sending it again? > > > On Fri, Jul 17, 2009 at 9:53 PM, greenbean wrote: >> >> Here is the sample route: >> >> >> >> >> >> >>                    java.lang.Exception >> >

Re: Camel 2.0 Transaction Rollback

2009-07-17 Thread greenbean
: > > On Fri, Jul 17, 2009 at 3:34 PM, greenbean wrote: >> >> We are using Camel 2.0 with ActiveMQ 5.  Our Camel routes participate in >> a XA >> transaction.  When errors occur we expect the transaction to rollback to >> a >> JMS queue.  We have ActiveMQ config

Camel 2.0 Transaction Rollback

2009-07-17 Thread greenbean
We are using Camel 2.0 with ActiveMQ 5. Our Camel routes participate in a XA transaction. When errors occur we expect the transaction to rollback to a JMS queue. We have ActiveMQ configured to send the message to a DLQ where it then travels down a error route. This worked in the past. However

Best Practices For Data Propagation Through Pipeline

2009-04-23 Thread greenbean
Can anyone provide a "best practice" for data propagation and manipulations through a pipeline? Say I have a bunch of beans, each carrying out a specific type of processing. I would like the beans to be generic in that they take in the data they require and spit out their results. However, with

Capturing Exception Causing ActiveMQ Rollback

2009-04-06 Thread greenbean
I would like to capture the exception that caused an ActiveMQ rollback when using Apache Camel. I would also like to associate it with the message (by message id?) so that I can find the exception again when I am processing the message in an ActiveMQ DLQ. What is the best way to accomplish this

Re: Custom ThreadPool For ActiveMQComponent

2009-04-06 Thread greenbean
It appears the taskExecutor property on the ActiveMQComponent is what I need. greenbean wrote: > > If I have this in Camel 2.0: > > > Is it possible to specify the ThreadPool that is used for the > concurrentConsumers... to replace the DefaultMessageListenerContainer

Custom ThreadPool For ActiveMQComponent

2009-04-06 Thread greenbean
If I have this in Camel 2.0: Is it possible to specify the ThreadPool that is used for the concurrentConsumers... to replace the DefaultMessageListenerContainer (as shown below) thread pool for example? 2009-04-03 21:33:19,760 WARN [org.apache.camel.component.jms.JmsProducer] (DefaultMessageLi

Re: Camel JMS Component (ActiveMQ) Repeatedly Reconnects

2009-03-27 Thread greenbean
>> On Wed, Mar 18, 2009 at 8:07 PM, greenbean wrote: >>> >>> I made the change you suggested.  However, I am getting the same error. >>> :-( >>> >>> Do you have any other suggestions? >> Isnt it because you have CACHE_NONE? >>   &g

Re: Camel JMS Component (ActiveMQ) Repeatedly Reconnects

2009-03-18 Thread greenbean
.org/activemq.html > > > > On Mon, Mar 16, 2009 at 9:37 PM, greenbean wrote: >> >> Apache Camel 2.0 Snapshot >> Apache ActiveMQ 5.2 >> >> When I started Apache Camel I see repeated connect/disconnect events in >> activemq.  Is there something I have done inc

Camel JMS Component (ActiveMQ) Repeatedly Reconnects

2009-03-16 Thread greenbean
Apache Camel 2.0 Snapshot Apache ActiveMQ 5.2 When I started Apache Camel I see repeated connect/disconnect events in activemq. Is there something I have done incorrectly to have activemq do this? I use ActiveMQ other places (outside of camel) and everything works fine. Below is the XML config