Re: Questions about JMS component and XA Transactions

2015-03-26 Thread gabfssilva
Thanks Thiago! Answering my own question: I forgot to define the *maxPoolSize* property in *AtomikosConnectionFactoryBean*, the default is 1, and when I set to a higher value, everything works as expected. -- View this message in context:

Questions about JMS component and XA Transactions

2015-03-26 Thread gabfssilva
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

Re: Problem with InOnly exchange pattern using with RestDSL

2014-12-16 Thread gabfssilva
Hello! Thanks for answering. Well, actually it did work! But, I thought that wire tap was not appropriate for this case. Anyway, do you know why the rest return gets messed up when I try to send an inOnly message? -- View this message in context:

Problem with InOnly exchange pattern using with RestDSL

2014-12-15 Thread gabfssilva
Hello! I'm using spark-java as rest-dsl provider (but I already tried with the servlet component and still didn't work) and I'm having some issues using in only in a rest dsl route: That's the rest configuration: restConfiguration().component(spark-rest).bindingMode(RestBindingMode.json)

Manual commit inside a loop using Camel

2014-11-10 Thread gabfssilva
Hello! I'm trying to do a manual commit a JMS transaction inside a loop using camel: from(direct:some-endpoint) .routeId(my-route) .process(createObject) .marshal().json(JsonLibrary.Jackson) .transacted(policyRequiresNew)