Re: javax.jms.JMSException: Transport disposed

2010-02-26 Thread Willem Jiang
How did you configure the jms component? It looks like the JMS connection can't reconnect if the Transport disposed exception is thrown. Willem moacsjr wrote: Hello everybody, I've a route that process messages by using a processor. I've noticed that when the system throws the exception "jav

RE: How to receive async Messages on a MINA client ?

2010-02-26 Thread anandsk
Hi, I want to do the same thing, we have only one client connection we can use and we don't want to wait for response. would like to receive asynchronously. is this feature request already added or should I add it now?. Thanks, Sadanand Claus Ibsen wrote: > > Hi > > Ah you want from Camel to

Re: Problem with JMS replyTo

2010-02-26 Thread Christian Schneider
I was able to resolve the problem. In my jms config I had used the option useMessageIdAsCorrelationId. As the forwarded message has a different correlation id than the original message the client could not process the response. Besides that I had a typo in the config I posted. On the other han

Default error handler, changing HTTP response code

2010-02-26 Thread jfaath
By consulting the documentation, I came up with this code to handle an error for messages sent to a jetty http endpoint: onException(SchemaValidationException.class) .handled(true) .transform() .simple("The format of the incoming message does not conform to the specification."); Everything works

Re: OnException and log level

2010-02-26 Thread boday
Julien, I added the following to suppress these messages... DefaultErrorHandlerBuilder errHandler = defaultErrorHandler(); errHandler.loggingLevel(LoggingLevel.DEBUG); errHandler.getRedeliveryPolicy().setRetriesExhaustedLogLevel(LoggingLevel.DEBUG); errHandler.getRedeliveryPolicy().setRetryAttemp

Re: Read mail attachments from pop3 accounts and save them to file system

2010-02-26 Thread Claus Ibsen
On Fri, Feb 26, 2010 at 5:07 PM, beat glattfelder wrote: > > Hi Camel Riders > > I am having the same issue with pop3. Debugging the code reveals > com.sun.mail.pop3.POP3Message.getContent is returning a String instead of a > Multipart object, so though strictly this is not a camel issue, I still

Re: Runtime advice

2010-02-26 Thread Claus Ibsen
On Fri, Feb 26, 2010 at 5:51 PM, James Strachan wrote: > On 26 February 2010 16:46, Pitre, Russell wrote: >> I'm about to start a new integration project using Camel.  I'd like to >> survey what my runtime options are.  My preliminary research has lead me >> to using a Servlet container such as T

Re: Runtime advice

2010-02-26 Thread James Strachan
On 26 February 2010 16:46, Pitre, Russell wrote: > I'm about to start a new integration project using Camel.  I'd like to > survey what my runtime options are.  My preliminary research has lead me > to using a Servlet container such as Tomcat or a OSGI container such as > Apache Felix or dm Server

Runtime advice

2010-02-26 Thread Pitre, Russell
I'm about to start a new integration project using Camel. I'd like to survey what my runtime options are. My preliminary research has lead me to using a Servlet container such as Tomcat or a OSGI container such as Apache Felix or dm Server. I don't have any experience with OSGI, the limited expe

Re: Read mail attachments from pop3 accounts and save them to file system

2010-02-26 Thread beat glattfelder
Hi Camel Riders I am having the same issue with pop3. Debugging the code reveals com.sun.mail.pop3.POP3Message.getContent is returning a String instead of a Multipart object, so though strictly this is not a camel issue, I still would like to know if someone remembers how this has been resolved?

Problem with JMS replyTo

2010-02-26 Thread Schneider Christian
Hi, I have got two queues that listen for SOAP/JMS calls. The calls are request/reply and expect a reply on a temporary queue. I want to feed requests from both queues into a common queue to serialize them. Then I want to listen to the comon queue and process the requests. The problem is that th

Re: Split, custom threadpools, aggregationstrategy

2010-02-26 Thread Claus Ibsen
On Fri, Feb 26, 2010 at 3:05 PM, Andrew Chandler wrote: > Thank you very much, - do you know how I would go about l.etting the > powers that be know the documentation needs an update for the splitter > page? I update the wiki page also. > On Fri, 2010-02-26 at 06:48 +0100, Claus Ibsen wrote: > >

Re: Split, custom threadpools, aggregationstrategy

2010-02-26 Thread Andrew Chandler
Thank you very much, - do you know how I would go about l.etting the powers that be know the documentation needs an update for the splitter page? On Fri, 2010-02-26 at 06:48 +0100, Claus Ibsen wrote: > Hi > > Use the method executeService on the split DSL. > > eg > > from("activemq:queue:spi

Re: Environment Variables using Simple language

2010-02-26 Thread Claus Ibsen
Hi Ticket created https://issues.apache.org/activemq/browse/CAMEL-2503 And the new feature has been implemented. You can now use sysenv to refer to a system environment variable. On Fri, Feb 26, 2010 at 2:05 PM, Claus Ibsen wrote: > Hi > > Ah sys in simple language is JVM System Properties, eg

Re: Environment Variables using Simple language

2010-02-26 Thread Claus Ibsen
Hi Ah sys in simple language is JVM System Properties, eg the one you have -D with. What you want is the OS environment variables, eg like JAVA_HOME etc. I will crete a ticket to add sysenv to the simple language. On Wed, Feb 24, 2010 at 6:24 PM, ychawla wrote: > > Hello All, > I was unable t

Re: [Discuss] Apache Camel - Clustering/Loadbalancing solutions (inventory)

2010-02-26 Thread Charles Moulliard
Ok I will correct the page. Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com twitter : http://twitter.com/cmoulliard Linkedlin : http://www.linkedin.com/in/charlesmoulliard Apache Camel Group : http://www.lin

Re: [Discuss] Apache Camel - Clustering/Loadbalancing solutions (inventory)

2010-02-26 Thread Willem Jiang
Charles Moulliard wrote: On the wiki page of camel concerning vm, they suggests that vml:// can be used across different JVM Here is the text : "This component differs from the SEDA component in that VM supports communication across CamelContext instances, so you can use this mechanism to commu

Re: [Discuss] Apache Camel - Clustering/Loadbalancing solutions (inventory)

2010-02-26 Thread James Strachan
On 26 February 2010 12:45, Charles Moulliard wrote: > On the wiki page of camel concerning vm, they suggests that vml:// can > be used across different JVM > > Here is the text : > > "This component differs from the SEDA component in that VM supports > communication across CamelContext instances,

Re: [Discuss] Apache Camel - Clustering/Loadbalancing solutions (inventory)

2010-02-26 Thread Charles Moulliard
On the wiki page of camel concerning vm, they suggests that vml:// can be used across different JVM Here is the text : "This component differs from the SEDA component in that VM supports communication across CamelContext instances, so you can use this mechanism to communicate across web applicati

Re: [Discuss] Apache Camel - Clustering/Loadbalancing solutions (inventory)

2010-02-26 Thread Willem Jiang
Hi, Charles Moulliard wrote: Based on James feedback, I have adapted the categories. I will create a wiki page on camel wiki to show the different options 1. Loadbalancing loadbalance() : http://camel.apache.org/load-balancer.html 2. Clustering 2.1. Same JVM & CamelContext seda:// :

Re: [Discuss] Apache Camel - Clustering/Loadbalancing solutions (inventory)

2010-02-26 Thread Charles Moulliard
I have created a draft on wiki : http://cwiki.apache.org/confluence/display/CAMEL/Clustering+and+loadbalancing Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com twitter : http://twitter.com/cmoulliard Linkedlin

Re: Starting camel context not blocking

2010-02-26 Thread jpcook
In version 1.4 it definitely does block. I started off with a while loop but then implemented MainSupport and took the example from the Spring Example project but stripped out all Spring specific stuff. Works nicely. I might put something on the wiki to make it a little bit more obvious. Thanks

Re: [Discuss] Apache Camel - Clustering/Loadbalancing solutions (inventory)

2010-02-26 Thread Christian Müller
I would like this. Christian

Re: Apache CXF - Camel wiki page : clarification requested

2010-02-26 Thread Willem Jiang
Daniel Kulp wrote: On Thu February 25 2010 8:09:48 am cmoulliard wrote: Hi, The cxf camel wiki page introduces the following CXF concepts which are not well described / explained. Can someone provide more info in order to improve the documentation please ? Concepts to be clarified - PRE-STREA

Re: [Discuss] Apache Camel - Clustering/Loadbalancing solutions (inventory)

2010-02-26 Thread Charles Moulliard
Based on James feedback, I have adapted the categories. I will create a wiki page on camel wiki to show the different options 1. Loadbalancing loadbalance() : http://camel.apache.org/load-balancer.html 2. Clustering 2.1. Same JVM & CamelContext seda:// : http://camel.apache.org/seda.ht