Transactions on POJO ProducerTemplates

2014-07-22 Thread Robert Dare
Hi, I am producing events through a centralized Spring managed bean that uses the @EndpointInject annotation. @EndpointInject(uri=direct:*incomingEvents*) These events are then routed to individual queues based on a header value: route xmlns=http://camel.apache.org/schema/spring; id=mainRoute

Camel concurrentConsumers and Consume annotation

2013-12-09 Thread Robert Dare
Hello, I am using the org.apache.camel.Consume annotation to consume messages in Java from an ActiveMQ queue. I can configure the concurrentConsumers via the URI parameter in the annotation: @Consume(uri=activemq:queue:MyQueueName?concurrentConsumers=5) How can I externalize the

How to configure multiple consumers from @Consume + uri?

2012-04-06 Thread Robert Dare
Hello everyone, and happy Friday! I have a Spring web application that uses the @Consume annotation to pull from an ActiveMQ queue. Is it possible to configure this to create multiple consumers from the queue? I was hoping I could add something like this:

Re: How to configure multiple consumers from @Consume + uri?

2012-04-06 Thread Robert Dare
concurrentConsumers=10, then you have a steady pool with 10 consumers. On Fri, Apr 6, 2012 at 2:48 PM, Robert Dare robert.d...@gmail.com wrote: Hello everyone, and happy Friday! I have a Spring web application that uses the @Consume annotation to pull from an ActiveMQ queue.  Is it possible

Using String(json) instead of object as body type:

2011-08-20 Thread Robert Dare
How does one go about using character/text body types instead of object in Camel routes? Is it as simple as just setting a string in the producer template? The ActiveMQ docs indicate that object body types are lowest performance. Thank you. Rob

Re: Using String(json) instead of object as body type:

2011-08-20 Thread Robert Dare
Do I need to register a BodyTypeConverter to do this? On 8/20/11, Robert Dare robert.d...@gmail.com wrote: How does one go about using character/text body types instead of object in Camel routes? Is it as simple as just setting a string in the producer template? The ActiveMQ docs indicate

POJO Routing

2011-08-19 Thread Robert Dare
Hi Everyone, I have not been able to find any documentation or examples on using the choice elements with pojo based routing. I am using the Spring XML Extensions to define a route. I can not figure out how to to test the body with a when structure. Using the xpath element is obviously wrong

Spring XML Extensions Documentation:

2011-08-19 Thread Robert Dare
I'm trying to build my camel routes using the Spring XML Extensions. Can someone please point me to the detailed documentation on the XML? Google search results keep bringing me back to Camel examples, but nothing that details the XML elements. Thank you, Rob

Re: POJO Routing

2011-08-19 Thread Robert Dare
Thank you so much Claus! That did the trick. Simple was exactly what I was looking for! On Fri, Aug 19, 2011 at 10:49 AM, Claus Ibsen claus.ib...@gmail.com wrote: On Fri, Aug 19, 2011 at 4:25 PM, Robert Dare robert.d...@gmail.com wrote: Hi Everyone, I have not been able to find any