Re: Capturing Exception Causing ActiveMQ Rollback

2009-04-06 Thread Claus Ibsen
On Mon, Apr 6, 2009 at 10:12 PM, greenbean wrote: > > 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 i

Camel as a web server or Camel as part of a web server?

2009-04-06 Thread huntc
Hey there, Does anyone have thoughts on using a stand-alone Camel application as a web server, or do people generally prefer packaging the Camel application in a WAR file? My use-case is that I have a web service provided by Camel and using the jetty component. This works nicely. However I want

Re: Is it possible to see which messages are currently "delayed"

2009-04-06 Thread Claus Ibsen
On Mon, Apr 6, 2009 at 2:47 PM, ee7arh wrote: > > Hi, > > I would like to use the delayer pattern quite extensively to delay quite a > few messages for up to 6 hours. Is there anyway to see how many or even > which messages are currently delayed? 6 hours, that is a long time. I think there are set

Re: Apache Camel and Twitter

2009-04-06 Thread Claus Ibsen
Hi Bruno Fantastic. I am sure your ticket is in safe hands with Bruce Snyder. On Mon, Apr 6, 2009 at 11:55 PM, Bruno Borges wrote: > I've just submited the code as a JIRA New Feature issue. > > Anybody interested, just go to > >  https://issues.apache.org/activemq/browse/CAMEL-1520 > > Thanks, >

Re: Apache Camel and Twitter

2009-04-06 Thread Bruno Borges
I've just submited the code as a JIRA New Feature issue. Anybody interested, just go to https://issues.apache.org/activemq/browse/CAMEL-1520 Thanks, Bruno Borges blog.brunoborges.com.br +55 21 76727099 "The glory of great men should always be measured by the means they have used to acquire it

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 (as > shown below) thread

Re: Sending Map

2009-04-06 Thread Claus Ibsen
On Mon, Apr 6, 2009 at 7:01 PM, Joe White wrote: > I would like to send a Map through Camel using > ActiveMQ JMS , but Camel inspects the body of the message and notes that > it is an instance of Map (JMSBinding.java line 316 in camel 1.5) wraps > it up in a MapMessage and then sends it along. > >

Sending Map

2009-04-06 Thread Joe White
I would like to send a Map through Camel using ActiveMQ JMS , but Camel inspects the body of the message and notes that it is an instance of Map (JMSBinding.java line 316 in camel 1.5) wraps it up in a MapMessage and then sends it along. The issue is that the MapMessage spec will only handle Pr

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

Is it possible to see which messages are currently "delayed"

2009-04-06 Thread ee7arh
Hi, I would like to use the delayer pattern quite extensively to delay quite a few messages for up to 6 hours. Is there anyway to see how many or even which messages are currently delayed? I am routing from a persistent queue to the delayer and then on to a bean. I am worried that once a messag

Re: Can DeadLetterChannel be used in Transaction?

2009-04-06 Thread davsclaus
Hi Just for the record. In Camel 2.0 we have improved the TransactionErrorHandler to support the onException as well. So now you can handle thrown exceptions for transacted routes as well. A note though: Any of the redelivery stuff is of course not supports for transacted routes. Redelivery is d