camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thiago Kronig <thiagokro...@gmail.com>
Subject Re: Questions about JMS component and XA Transactions
Date Thu, 26 Mar 2015 18:57:41 GMT
Gabriel!
You and I work at the same company.
Contact me if you need help!

On Thu, Mar 26, 2015 at 3:12 PM gabfssilva <gabfssilva@gmail.com> wrote:

> Hi! I'm trying to use the JMS component, which connects to a JBossMQ (it
> runs
> on a JBoss 4.2.3GA :/ ) and I'm having some problems when I try to use XA
> transactions (actually, even with local  transactions I get the same
> behavior).
> The problem is, when I try to set a Transaction Manager to a JMS Component,
> the producers send the messages synchronously to the consumer, and I REALLY
> don't want to do that. Even if there is no consumer, it takes about 10/11
> seconds to commit the message, meanwhile the thread hangs.
> But... If I DO NOT set any Transaction Manager to the JMS Component,
> everything works as expected, I even get the same behavior like "while you
> don't commit to the database, don't send the message", but, still, it is
> not
> XA so, it can happen to commit to the database and not be able to send the
> message, is that right?
> Is there a way to send a message with XA transactions using the JMS
> Component asynchronously to the consumer? Is there a property that i'm
> missing?
>
> Here it is my JMS configuration:
>
> https://gist.github.com/gabfssilva/c94f59f906d0c48e5001
>
> And my JMS Component configuration:
>
> https://gist.github.com/gabfssilva/60b6a9e42ed06945fe18
>
> Waiting for answers, thanks!!
>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.
> com/Questions-about-JMS-component-and-XA-Transactions-tp5764849.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message