My camel test is not reading the injected value from blueprint.xml

2017-05-18 Thread shweta.kumari13...@gmail.com
HI, I have written my camel test for a routebuilder , where one property is injected from blueprint.xml. In my test class, the value of that property always comes as false(as it boolean , so default is false). But in blueprint.xml I have made it as true. Also , i tried using loadConfigAdminConfi

Re: Camel-netty client problem, only one connection is allowed by the server

2017-05-18 Thread Shutao
Finally, I skip Camel-Netty & use the Netty directly. https://github.com/shenshutao/java/tree/master/ShutaoDemo/src/main/java/shutao/io/netty/sample/multiplexingclient -- View this message in context: http://camel.465427.n5.nabble.com/Camel-netty-client-problem-only-one-connection-is-allowed-by

Re: Java Rest DSL Spring boot and Rabbitmq

2017-05-18 Thread kaiser75
thanks souciance.  Here is my code , my question is how do I rteurn  a custom message when the request is successful. Currently for some reason, my code returns the transformed payload along with 200 ok, I want to send a custom message something like { statuscode = 200, message="success"} as a r

Re: Java Rest DSL Spring boot and Rabbitmq

2017-05-18 Thread kaiser75
thanks souciance. Here is my code , my question is how do I rteurn a custom message when the request is successful. Currently for some reason, my code returns the transformed payload along with 200 ok, I want to send a custom message something like { statuscode = 200, message="success"} as a resp

[ANNOUNCEMENT] Apache Camel 2.17.7 Released

2017-05-18 Thread Gregor Zurowski
The Camel community announces the immediate availability of the Camel 2.17.7 patch release. This release contains 15 fixes and is the last planned release for the 2.17.x branch. The artifacts are published and ready for you to download [1] either from the Apache mirrors or from the Central Maven r

ActiveMQ initial number of consumers

2017-05-18 Thread Paul Simon
Hi - using: Camel version 2.18.1 ActiveMQ version 5.14.1 ActiveMQ component is used with exchange=InOut. I specified class option replyToConcurrentConsumers > 1, but the initial Number of consumers for my queue was only 1. The initial Number of Consumers could only be raised by setting the cla

Re: AW: Camel ActiveMQ JMS Calls using SSL

2017-05-18 Thread mtod09
Thanks this helps. What I'm looking for is a Java Camel Client example using JMS SSL ie ssl://broker:61617 Note: I'm using SpringBoot for creating a Camel Microservice for AWS I'll need to have all the connections run over SSL. Example: @Component public class ESBRoute1 extends RouteBuilder {

AW: Camel ActiveMQ JMS Calls using SSL

2017-05-18 Thread Burkard Stephan
Hi This is actually not a Camel thing, but a configuration issue of your AMQ connection. You have to configure an ActiveMQSslConnectionFactory (see below) and change the Broker-URL to ssl://broker:port instead of tcp://broker:port. If you do 2-Way-SSL you need to provide Keystore-Properties, i

Camel ActiveMQ JMS Calls using SSL

2017-05-18 Thread mtod09
I'm trying to setup a Camel route to a Secured ActiveMQ server over SSL + JMS. I have setup connections using other technologies can this be done with Camel? If so is there an example available? Thanks Mike -- View this message in context: http://camel.465427.n5.nabble.com/Camel-ActiveMQ-JM

Re: Camel-SQL 2.18.2 problem with MongoDbBasicConverters

2017-05-18 Thread antopet
Hi, I removed the mongodb module from the wildfly, and now everthing work perfect when I call the postgresDB with (4.5.0 and 4.6.0). So it is probably something wrong with the mongodb module that effect the sql Component? how? //Anton -- View this message in context: http://camel.465427.n5

Re: DayLight Saving behaviour using apache camel Quartz2

2017-05-18 Thread Tomohisa Igarashi
Hi, I think that depends on your system clock. If it's syncing correctly by NTP or something, then quartz should work fine over DST switch. Thanks, Tomo On 05/18/2017 07:52 PM, deepaktaker wrote: Hi All, I need to understand what is the behaviour of apache camel Quartz2 during daylight savin

DayLight Saving behaviour using apache camel Quartz2

2017-05-18 Thread deepaktaker
Hi All, I need to understand what is the behaviour of apache camel Quartz2 during daylight saving. For example if a job is scheduled to execute every day at 2am before daylight saving, would it continue to execute at 2am after daylight saving. Regards, Deepak -- View this message in context: h

Re: Camel processes only the first 150 rows in CSV

2017-05-18 Thread Ambika Das
I am using currently readLock and doneFileName, but the issue persists. sftp://server:port/data?delay=1&doneFileName=${file:name}.done&move=.done&moveFailed=failed&noop=true&password=xx&readLock=changed&username=abcd Regards, Ambika From: Ambika Das

Re: Camel processes only the first 150 rows in CSV

2017-05-18 Thread Ambika Das
I changed the code and my end point looks like this. "sftp://server:port/dropbox?delay=1&doneFileName=done&idempotent=true&moveFailed=failed&noop=true&password=xx&preMove=done&readLock=true&username=sftpuser1"; It is still stopping at 150 rows. Regards, Prasad _

Re: Which Component is best to implement Rest EndPoint please suggest me.

2017-05-18 Thread Zoran Regvart
Hi Santosh, On Thu, May 18, 2017 at 7:13 AM, santoshkeleti wrote: > I want expose a REST ENDPOINT, please suggest me which component is best > like jetty or Restlet or any other The 'best' depends on your use case, all of those are good choices, and Camel has a few more that you can choose from.

Re: Servlet Session Handling

2017-05-18 Thread raja
Thank u bro, It works Fine. -- View this message in context: http://camel.465427.n5.nabble.com/Servlet-Session-Handling-tp5799692p5799765.html Sent from the Camel - Users mailing list archive at Nabble.com.

Which Component is best to implement Rest EndPoint please suggest me.

2017-05-18 Thread santoshkeleti
Dear All, I want expose a REST ENDPOINT, please suggest me which component is best like jetty or Restlet or any other -- View this message in context: http://camel.465427.n5.nabble.com/Which-Component-is-best-to-implement-Rest-EndPoint-please-suggest-me-tp5799768.html Sent from the Camel - Use

Re: Camel sql Component should retrieve data when the particular column is null using select query

2017-05-18 Thread darwinanirudh
${body[CDR_JSON_FORM]}!= Caused by: org.apache.camel.language.simple.types.SimpleIllegalSyntaxEx

Re: Camel sql Component should retrieve data when the particular column is null using select query

2017-05-18 Thread raja
Change from: ${body[CDR_JSON_FORM]}!= null Change TO: ${body[CDR_JSON_FORM]} != null -- View this message in context: http://camel.465427.n5.nabble.com/Camel-sql-Component-should-retrieve-data-when-the-particular-column-is-null-using-select-query-tp5799613p5799771.html Sent from the Came

Re: Servlet Session Handling

2017-05-18 Thread raja
In the previous post I told about a Problem getting HttpSession after JDBCComponent. A little hack solve the Issue but I don't know its right way or not. The HttpRequest is kept in one of the header named "CamelHttpServletRequest".So after the JDBCComponent I try to get the HttpSession from the He

Re: Camel processes only the first 150 rows in CSV

2017-05-18 Thread Zoran Regvart
Hi, you have specified `noop=true` and I guess you didn't configure `idempotent=true` and `idempotentRepository` (if you wish to preserve the state of processing between nodes and restarts) -- that keeps the file as is on the SFTP server. Also the file might be half-consumed if you're not using `d

Re: Camel processes only the first 150 rows in CSV

2017-05-18 Thread Ambika Das
I put the file in the SFTP drop box and started the application. It takes up the first 150 rows for processing. Any reason why Camel skips rest of the rows? Regards, Prasad From: Ambika Das Sent: Thursday, May 18, 2017 12:28 PM To: users@camel.apache.org Subj