camel-rabbitmq logging exceptions as debug

2014-10-23 Thread Marco Crivellaro
Hi, I am using Camel 2.14.0 Connecting to RabbitMQ using camel-rabbitmq I've noticed that no ERROR is logged if the component cannot connect, the exceptions are handled and logged as DEBUG. This is a bit inconvenient as logging all DEBUG messages for the component fills up our logs, in production w

ErrorHandler and RetryPolicy

2014-10-23 Thread Ayache Khettar
Hi I am doing a bit of research on the best way to implement an Asynchronous Delayed Redelivery. I am well aware that if you set the *AsyncDelayedRedelivery option *on the retry delivery, Camel will use a scheduler so an asynchronous thread will perform the redelivery. This ensure no thread is blo

Re: camel cxfrs with swagger.

2014-10-23 Thread atg roxx
Hi Matt, I will check your solution and will let you know whether it works or not. Jack, I have not found any straight forward solution for it. The approach which I am using right now is to use swagger maven plugin ( http://www.github.com/kongchen/swagger-maven-plugin) to generate swagger

calling a REST Service POST method with parameters from another REST Service

2014-10-23 Thread sayed_india
Hello, I need to call a REST service POST method with parameters from Another REST service GET method using the partial response data as the input for the POST method as described below, please share the working code sample: For Example http://localhost:8080/employee-- this REST service has a get m

REST marshal gson with custom Exclustion Strategy

2014-10-23 Thread panzerhans
I am struggling to wrap my head around how to create a Gson ExclusionStrategy that depends on a value in the Message object from the Exchange (this is stored in a Header). I am registering restConfiguration().setJsonDataFormat("json-gson") in my route definition (so Google Gson is being used for m

SFTP - LogIn once then change directories to download files

2014-10-23 Thread khurram
Hi All I'm new to camel SFTP, requirement is to download 80+ files from a SFTP host. My current design is: 1- pick up a message for the file name from Oracle AQ 2- get host, host username/password, host directory and file name from DB config table for the file 3- build SFTP URI with t

Camel Mail CC and BCC headers

2014-10-23 Thread ychawla
Hello All, I recently had a production issue where there was an exception thrown when the CC or the BCC headers were set to "": com.sun.mail.smtp.SMTPAddressFailedException: 554 5.1.1 Invalid recipient address Is this the expected behavior in Camel or would it be possible for camel to check for a

Re: Unable to send the POST parameters value for REST Service

2014-10-23 Thread sayed_india
This can be done by changing the @PathParam to @FormParam and using URLEncoded. Hope this helps others. Thanks, Sayed -- View this message in context: http://camel.465427.n5.nabble.com/Unable-to-send-the-POST-parameters-value-for-REST-Service-tp5757760p5757944.html Sent from the Camel - User

Re: [VOTE] Release Apache Camel 2.12.5

2014-10-23 Thread Jeff Genender
+1 Jeff > On Oct 22, 2014, at 11:14 PM, Christian Müller > wrote: > > This is a vote to release Apache Camel 2.12.5, a patch release coming with > about 74 issues fixed. > > Release notes: > https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311211&version=12327166 > > Stagin

Re: calling a REST Service POST method with parameters from another REST Service

2014-10-23 Thread sayed_india
One observation, 1)The second URI is appended with First URI Path i.e, http://locahost:8090/dept/employee 2)How to avoid this and put other parameters like method ,encoding,formParam. I use the below code still doesnt work .setHeader("CamelHttpMethod",constant("POST")) .s

Re: [VOTE] Release Apache Camel 2.12.5

2014-10-23 Thread akarpe
+1 > On Oct 23, 2014, at 12:14 AM, Christian Müller > wrote: > > This is a vote to release Apache Camel 2.12.5, a patch release coming with > about 74 issues fixed. > > Release notes: > https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311211&version=12327166 > > Staging repo

Re: Camel Mail CC and BCC headers

2014-10-23 Thread ychawla
Hello All, The MailBinding class contains this method setRecipientFromEndpointConfiguration. Perhaps it is just as easy as checking the recipients map to see if the CC or BCC are blank or empty string prior to setting them in the method. If so, I wouldn't mind submitting a patch for this. Thanks

Re: [VOTE] Release Apache Camel 2.12.5

2014-10-23 Thread seijoed
+1 Johan Edstrom jedst...@savoirtech.com Phone (Cell) : +1 303 999 7535 On Thu, Oct 23, 2014 at 9:09 AM, akarpe wrote: > +1 >> On Oct 23, 2014, at 12:14 AM, Christian Müller >> wrote: >> >> This is a vote to release Apache Camel 2.12.5, a patch release coming with >> about 74 issues fixed

Re: calling a REST Service POST method with parameters from another REST Service

2014-10-23 Thread sayed_india
Hello, The first issue of URL is resolved using .setHeader("CamelHttpPath",simple("/dept")) But the POST service call gives ArrayIndexOutofBound Exception with no clue , so stops calling second service .setHeader("CamelHttpMethod",constant("POST")) .setHeader("Content-Type"

Re: [VOTE] Release Apache Camel 2.12.5

2014-10-23 Thread Jean-Baptiste Onofré
+1 (non binding) Regards  JB  Sent from my Samsung Galaxy smartphone. Original message From: seij...@gmail.com Date:23/10/2014 18:30 (GMT+01:00) To: d...@camel.apache.org Cc: priv...@camel.apache.org, d...@camel.apache.org, users@camel.apache.org Subject: Re: [VOTE] Rel

[CANCEL][VOTE] Release Apache Camel 2.12.5

2014-10-23 Thread Christian Müller
This release candidate doesn't contain the Camel distro and Camel source distro. I think this happened because I had to re-stage the release after one reported signate failure in Nexus. Will redo the release upload... Best, Christian On Thu, Oct 23, 2014 at 7:14 AM, Christian Müller < christian.

Re: Not all processors are listed in JMX, preventing detailed route statistics/profiling

2014-10-23 Thread BlackTie
I tried configuring the JMX agent with registerAlways=true and that didn't make a difference. Still thinking about the transacted routes not being registered at the processor level in JMX, I removed the transacted method from the route builder for one of the routes that didn't have the detailed pr

Re: [VOTE] Release Apache Camel 2.12.5

2014-10-23 Thread Matteo Cusmai
+1 On 23 Oct 2014 19:42, "Jean-Baptiste Onofré" wrote: > +1 (non binding) > > Regards > JB > > > Sent from my Samsung Galaxy smartphone. > > > Original message > From: seij...@gmail.com > Date:23/10/2014 18:30 (GMT+01:00) > To: d...@camel.apache.org > Cc: priv...@camel.apache.

Re: [VOTE] Release Apache Camel 2.12.5

2014-10-23 Thread Charles Moulliard
+1 On Thu, Oct 23, 2014 at 10:24 PM, Matteo Cusmai wrote: > +1 > On 23 Oct 2014 19:42, "Jean-Baptiste Onofré" wrote: > > > +1 (non binding) > > > > Regards > > JB > > > > > > Sent from my Samsung Galaxy smartphone. > > > > > > Original message > > From: seij...@gmail.com > > D

Re: Not all processors are listed in JMX, preventing detailed route statistics/profiling

2014-10-23 Thread Charles Moulliard
Do you have a use case that we could use to reproduce the issue ? On Thu, Oct 23, 2014 at 10:08 PM, BlackTie wrote: > I tried configuring the JMX agent with registerAlways=true and that didn't > make a difference. > > Still thinking about the transacted routes not being registered at the > proce