How could I post a Map to my restful api by camel?

2014-05-28 Thread sleeper
I have a web app,which provides some restful api,some of them have been marked as @POST. In my camel router,I wanna post a Map params to the restful api,how could I do it? Exchange res = template.request("direct:///start", new Processor() { public void process(Exchange exchange) throws Ex

Re: Camel JCR examples?

2014-05-28 Thread vivekrao001
Did you get any working example? If so could you please post the solution. Appreciate you help. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-JCR-examples-tp5746406p5751679.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: sftp file exists

2014-05-28 Thread bsurya1989
Thank you.. I am able to transfer the file. Consider a scenario if a file(AMSTest.txt) has to be transferred from from source(file: component) to destination(sftp: component). I am able to transfer it. Now the issue comes when I get another file with the same name AMSTest.txt file in source then,

Re: split and process message into many channels

2014-05-28 Thread techybolek
I'm thinking custom splitter bean, to split the message. -- View this message in context: http://camel.465427.n5.nabble.com/split-and-process-message-into-many-channels-tp5751677p5751678.html Sent from the Camel - Users mailing list archive at Nabble.com.

split and process message into many channels

2014-05-28 Thread techybolek
My input message: ... . . I want to: 1. Process the whole file using stylesheet and output to Dest A 2. For a few elements in the file (say, node1, node3 and node7) I want to extract them and output the content of each individually to Dest B I know how

Problem with smtps when javax.net.ssl.trustStore is set

2014-05-28 Thread Shing Hing Man
Hi,   I am using Camel  2.12.1. The following route sends email to my gmail account. from("direct:a").to("smtps://smtp.gmail.com:465?username=ad...@another.com&password=foo123&debugMode=true"); But when I added the following piece code before the above route,  String userHome=System.getProperty

Re: How to Implment Informative Transactional Error Handling?

2014-05-28 Thread kraythe .
So I opted for a multi phasic approach. We are changing AMQ to not do any redeliveries but to handle DLQ for us. http://activemq.apache.org/message-redelivery-and-dlq-handling.html So we are asking activemq to not do any redelivery of the the messages and instead handling any redelivery on a rout

Re: Contributing and release scheduling

2014-05-28 Thread carlo cancellieri
Willem, a big thank! I've just sow the job on the internal repo, you made a very quick and deep review! So the github pull req will never be merged, right? Any suggestion for a better contribution procedure is welcome. Cheers, Carlo 2014-05-28 16:53 GMT+02:00 Willem Jiang : > Hi Carlo, > > I al

Re: Camel Context shutdown by Spring Child Context

2014-05-28 Thread peter_mine...@skycreek.com
After much digging around, I agree this can be tricky to get right. Since I am working with a legacy monolithic application, the only solution I see is to create a separate Application Context for just Camel and the Messaging. This will keep it separate from the other Contexts and allow us, at so

Re: sftp file exists

2014-05-28 Thread Claus Ibsen
Hi moveExisting is a pattern, so you should use moveExisting=backup-of-${file:name} or something like that On Wed, May 28, 2014 at 4:48 PM, bsurya1989 wrote: > Hi, > > I am newbie to Apache Camel. I am trying to transfer a file from file(camel > component) to sftp(camel component). But when I t

sftp file exists

2014-05-28 Thread bsurya1989
Hi, I am newbie to Apache Camel. I am trying to transfer a file from file(camel component) to sftp(camel component). But when I transfer a file(AMSTest.txt) from source (as it polls the source) and transferred to destination(sftp directory). But when a same file comes in the source for the second

Re: Contributing and release scheduling

2014-05-28 Thread Willem Jiang
Hi Carlo, I already merged the PR 158 into apache camel. Current we do the patch release per 6 or 8 weeks.  As we just released Camel 2.13.1 two weeks ago, you PR should be part of camel-2.13.2 at the end of next month.  -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://wi

Contributing and release scheduling

2014-05-28 Thread carlo cancellieri
Hi all, I've 2 important questions to understand how to proceed. I'm working on a new huge project and I'm going to port many spring-batch based jobs to camel. I need to sync our release and spring schedule with the camel one so we can contribute to the project and get the improvements ready for

Re: Camel Context shutdown by Spring Child Context

2014-05-28 Thread Claus Ibsen
On Tue, May 27, 2014 at 10:13 PM, peter_mine...@skycreek.com wrote: > I have a couple of Questions: > > I have a standalone (legacy) application that creates a Spring Parent > Context which is where the CamelContext is created. Spring Batch is, also, > created in the Parent Context. What this app