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: http://camel.apache.org/schema/spring"; id="mainRoute" autoStar

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 concurrentCon

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

2012-04-06 Thread Robert Dare
oncurrentConsumers=10, then > you have a steady pool with 10 consumers. > > On Fri, Apr 6, 2012 at 2:48 PM, Robert Dare wrote: >> Hello everyone, and happy Friday! >> >> I have a Spring web application that uses the @Consume annotation to pull >> from an Activ

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: @Consume(uri="activemq:queue:MyQueueNam

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 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 t

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: 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 wrote: > On Fri, Aug 19, 2011 at 4:25 PM, Robert Dare > wrote: > > Hi Everyone, > > > > I have not been able to find any documentat

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

POJO Routing

2011-08-19 Thread Robert Dare
Hi Everyone, I have not been able to find any documentation or examples on using the "" 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 "" structure. Using the "" element is obviously wrong since the m