RE: JMS request-reply and transactions

2011-10-24 Thread Mathieu Lalonde
Hi Tung, Try removing the from your route. Normally, for InOut, you should not send the response back explicitly.  Camel takes care of that for you. :) Good luck. Mathieu > Date: Mon, 24 Oct 2011 18:21:02 +0200 > Subject: JMS request-reply and transac

RE: Aggregator - how to fail & resubmit if timeout expired

2011-10-24 Thread Mathieu Lalonde
Hi Claus, By resubmitting I meant triggering some custom logic to redeliver the exchange at the beginning of the route.  I saw that HawtDB, when used as aggregator persistent store, offers redelivery if the exchange processing fails following a successful aggregation.  I probably got a little

RE: Setting SOAP Headers using spring-ws

2011-10-24 Thread Damian Harvey
One header should be fine for most cases, but it could be a Collection to allow for multiple headers. Maybe best to allow for both - detect if an instanceof Collection and if so, then iterate over it? I'll change what I've done to use the type converters. Cheers, Damian. -Original Messag

Re: How to grab a (only one) file with camel ?

2011-10-24 Thread Craig Taylor
Another alternative might be to use the File locking mechanism with FTP style components. Consider the "supposed" remote lock as never released unless it's the proper file. Note: When doing this, adjust your trace level accordingly. On Sun, Oct 23, 2011 at 2:50 PM, szaruba wrote: > Hi everybod

Camel SFTP tunnelling

2011-10-24 Thread Craig Taylor
Does / Are there plans for the Camel SFTP component to support SFTP over SSH tunnelling? Thanks, -- --- Craig Taylor ctalk...@ctalkobt.net

Re: Monitoring Routes/Messages

2011-10-24 Thread Christian Schneider
I have just improved the tracer for camel 2.8.2. So now you can subscribe to notifications and get detailed traces of the messages that flow through the route. The messages also include the route node it just passes. From the route mbean you can get the xml representation of the route. So perhap

Re: dynamically setting username/password for jms

2011-10-24 Thread David Karlsen
Glad I could help. If it fits into Camel some way you might wanna provide a patch. Den 24. okt. 2011 20:00 skrev "dkohlert" følgende: > David, > I think I can make this work. Thank you for pointing me in the right > direction! > > -- > View this message in context: > http://camel.465427.n5.nabb

Re: dynamically setting username/password for jms

2011-10-24 Thread dkohlert
David, I think I can make this work. Thank you for pointing me in the right direction! -- View this message in context: http://camel.465427.n5.nabble.com/dynamically-setting-username-password-for-jms-tp4919276p4933530.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Aggregator - how to fail & resubmit if timeout expired

2011-10-24 Thread Claus Ibsen
On Thu, Oct 20, 2011 at 2:30 PM, Mathieu Lalonde wrote: > > Hi, > > I was wondering what was the best way to resubmit exchanges that did not get > aggregated within a given timeout. > What do you mean by resubmitting? The timeout occurs due the aggregation group did not complete within a given t

Re: camel 2.4 with spring 2.5.6 TaskExecutor issue

2011-10-24 Thread ebinsingh
Thanks a lot. It works now. -- View this message in context: http://camel.465427.n5.nabble.com/camel-2-4-with-spring-2-5-6-TaskExecutor-issue-tp3237897p4933214.html Sent from the Camel - Users mailing list archive at Nabble.com.

JMS request-reply and transactions

2011-10-24 Thread wing-tung Leung
Hello, I want to setup 2 separate routes in my camel context to create a synchronous spring bean method, which triggers a JMS based request-reply service. The front (synchronous) bean is invoked via a simple Spring web MVC controller, and dumps the response back to the browser. The second route,

Re: camel 2.4 with spring 2.5.6 TaskExecutor issue

2011-10-24 Thread Claus Ibsen
>From Camel 2.7+ onwards, Spring 3+ is required. See release notes http://camel.apache.org/camel-270-release.html On Mon, Oct 24, 2011 at 5:56 PM, ebinsingh wrote: > Hi, Is this issue resolved. > > Please advise. > > I am using the following versions > Camel: 2.8.1 > Spring: 2.5.6 > > I am just

Re: camel 2.4 with spring 2.5.6 TaskExecutor issue

2011-10-24 Thread ebinsingh
Hi, Is this issue resolved. Please advise. I am using the following versions Camel: 2.8.1 Spring: 2.5.6 I am just trying to consume messeges on a queue write it on a SEDA. But I get the following error. context.addRoutes(new RouteBuilder() { public void conf

RE: dynamically setting username/password for jms

2011-10-24 Thread dkohlert
I need them for authentication. From: Willem.Jiang [via Camel] [mailto:ml-node+s465427n4920345...@n5.nabble.com] Sent: Wednesday, October 19, 2011 10:42 PM To: Doug Kohlert Subject: Re: dynamically setting username/password for jms Are these username password used for authentication? Or you just

Re: Monitoring Routes/Messages

2011-10-24 Thread Michael Dewitte
What do you specifically want to do ? Just see the route graphically or see the route AND see some stats and message content for each node ? Mike 2011/10/24 sparktronics > visualizing the flow it is something really needed. How can I help if I > would > like to develop the tracer from a visual

Re: Monitoring Routes/Messages

2011-10-24 Thread Romain Manni-Bucau
Hi, maybe a little project i started few mounth ago could help you http://code.google.com/p/rmannibucau/wiki/CamelDiagramGenerator it still needs soem work to be fully functionnal but it is a starting point. Otherwise camel already provides a plugin to do it with graphviz - Romain 2011/10/24

Re: Monitoring Routes/Messages

2011-10-24 Thread sparktronics
visualizing the flow it is something really needed. How can I help if I would like to develop the tracer from a visual interface. I think that we can come up with GraphViz graphs using the DOT language. -- View this message in context: http://camel.465427.n5.nabble.com/Monitoring-Routes-Messages

Re: Why is DeadLetterChannel not supporting chaning the "handled" property?

2011-10-24 Thread Claus Ibsen
On Mon, Oct 24, 2011 at 2:32 PM, vhalitsyn wrote: > Hi and thanks for a really rapid reply! Just to double check: do you suggest > I write a general-purpose onException like: > > >   java.lang.Exception >   >   >      false >     >     > > > so that it fits my need? Thanks in advance! > PS: th

Re: Why is DeadLetterChannel not supporting chaning the "handled" property?

2011-10-24 Thread vhalitsyn
Hi and thanks for a really rapid reply! Just to double check: do you suggest I write a general-purpose onException like: java.lang.Exception false so that it fits my need? Thanks in advance! PS: then the docs should be updated on the website and also in the pdf. 'caus

Re: Why is DeadLetterChannel not supporting chaning the "handled" property?

2011-10-24 Thread Claus Ibsen
On Mon, Oct 24, 2011 at 2:14 PM, vhalitsyn wrote: > Hi, > > I have my error handler setup like > >     class="org.apache.camel.builder.DeadLetterChannelBuilder"> >         value="ejb:myear/DLQReceiver/local?method=onError"/> >             >             >         >         > >         class="org.ap

Why is DeadLetterChannel not supporting chaning the "handled" property?

2011-10-24 Thread vhalitsyn
Hi, I have my error handler setup like but this appears to be invalid due to the schema. Indeed I found out that in DeadLetterChannel protected Predicate getDefaultHandledPredicate() {

Re: Setting SOAP Headers using spring-ws

2011-10-24 Thread Claus Ibsen
On Mon, Oct 24, 2011 at 5:18 AM, Damian Harvey wrote: > Hi all, > > I've another SOAP spring-ws question for you. > > Currently I can't see a way to dynamically set SOAP headers using spring-ws. > I can set static headers by creating a MessageFactory but I see no way to > pass values into it. Is

Re: Need help with Camel http producer

2011-10-24 Thread Willem Jiang
I don't think http component support the multipart/form-data out of box. If you still want to do it, you can consider to add a processor to create the request entity like this from("file:inbox?noop=false").process(new Processor() { // setup the request entity in this processor pub