File component wih fileName option (skip/return when matching file found?)

2015-09-29 Thread mohammed.rafi
Hi, With Camel file component --> If you want to consume a single file only, you can use the fileName option, e.g. by setting fileName=thefilename. It polls the directory and compares the fileName with each of the files in the directory. But when a matching file is found it wont return immediate

Re: File component wih fileName option (skip/return when matching file found?)

2015-09-29 Thread Claus Ibsen
Use maxMessagesPerPoll=1 On Tue, Sep 29, 2015 at 9:37 AM, mohammed.rafi wrote: > Hi, > > With Camel file component --> If you want to consume a single file only, you > can use the fileName option, e.g. by setting fileName=thefilename. > > It polls the directory and compares the fileName with each

http4 component - producer endpoint config - http 401 error

2015-09-29 Thread contactreji
Hi guys Am trying to hit a REST API using camel http4 component. But I get following exception - *Stacktrace --- org.apache.camel.component.http4.HttpOperationFail

Class Not Found Exception for HTTPOperationFailedException

2015-09-29 Thread Vanshul . Chawla
Hello, I am using this in OnException org.apache.camel.component.http.HttpOperationFailedException When I deploy bundle to Fuse(6.1) , I get this error Caused by: java.lang.ClassNotFoundException: org.apache.camel.component.http.HttpOperationFailedException JBossFuse:admin@root> exports | g

What is the significance of Load01, Load05 and Load15 in JMX

2015-09-29 Thread deepak_a
All, Can some one help me clarify what is the significance of Load01, Load05 and Load15 that is exposed via JMX MBeanServer in Camel? My intention is to visually indicate the transfer progress for a large file. i.e. with a scrolling indicator that indicates the % of file transfer as the file ge

Re: What is the significance of Load01, Load05 and Load15 in JMX

2015-09-29 Thread Claus Ibsen
Hi Its similar to linux load average with 1, 5 and 15 mins http://www.howtogeek.com/194642/understanding-the-load-average-on-linux-and-other-unix-like-systems/ There is likely other pages on the web to explain that better. Its not CPU based, but on number of messages processing. On Tue, Sep

Re: http4 component - producer endpoint config - http 401 error

2015-09-29 Thread S Vijayan
Hi Reji, Key is wrong http://stage-api.target.com/v2/location?key=KiTA3ErWjEeJh6C3wSeUwvJyMv3lk0PA+ correct one is http://stage-api.target.com/v2/location?key=KiTA3ErWjEeJh6C3wSeUwvJyMv3lk0PA On Tue, Sep 29, 2

Re: http4 component - producer endpoint config - http 401 error

2015-09-29 Thread Raul Kripalani
It looks like this is an authorization key for a restricted API available publicly. Be careful of posting such things on public forums. *Raúl Kripalani* PMC & Committer @ Apache Ignite, Apache Camel | Integration, Big Data and Messaging Engineer http://about.me/raulkripalani | http://www.linkedin.

Issue in consuming from a rabbitMQ queue usinh Camel rabbit MQ componenet

2015-09-29 Thread Nagarjuna
I am not able to consume any messages from rabbitMQ using camel-rabbitmq component. = Camel flow = http://www.springframework.org/schema/beans"; xmlns:camel="http://camel.apache.org/sche

https REST DSL servicemix CamelHttpTransportServlet

2015-09-29 Thread sekaijin
Hi Howto configure servicemix to secure Rest service using REST DSL and CamelHttpTransportServlet Thank JYT -- View this message in context: http://camel.465427.n5.nabble.com/https-REST-DSL-servicemix-CamelHttpTransportServlet-tp5772098.html Sent from the Camel - Users mailing list archive a

Re: http4 component - producer endpoint config - http 401 error

2015-09-29 Thread S Vijayan
Hi, ya,I agree with raul. On Tue, Sep 29, 2015 at 7:34 PM, Raul Kripalani wrote: > It looks like this is an authorization key for a restricted API available > publicly. Be careful of posting such things on public forums. > > *Raúl Kripalani* > PMC & Committer @ Apache Ignite, Apache Camel | Int

RE: http4 component - producer endpoint config - http 401 error

2015-09-29 Thread Vanshul . Chawla
Issue resolved. Used Exchange.HTTP_QUERY for key and it workedp From: S Vijayan [aksvijay...@gmail.com] Sent: Tuesday, September 29, 2015 9:19 AM To: users@camel.apache.org Subject: Re: http4 component - producer endpoint config - http 401 error Hi, ya,I a

Re: https REST DSL servicemix CamelHttpTransportServlet

2015-09-29 Thread Arnaud Deprez
What do you mean by "secure" ? Configure ssl, Role based spring like application or Both ? On Tue, Sep 29, 2015 at 4:16 PM sekaijin wrote: > Hi > Howto configure servicemix to secure Rest service using REST DSL and > CamelHttpTransportServlet > > > Thank > JYT > > > > -- > View this message in c

Camel Load Balancer EIP with TCP Endpoints

2015-09-29 Thread SteveR
I have a stand-alone Java application using Camel 2.15 and camel-netty4 which is running on Linux RHEL6. I see that Camel supports a Load Balancer EIP and I'm wondering if it would a good fit based on the following requirements for my application: *REQUIREMENTS:* - Accept various incoming TCP con

what is QuickFixJ's version in Apache Camel 2.15.3

2015-09-29 Thread kanu_t
I recently started exploring QuickFixJ component in Camel 2.15.3. I cannot figure out which version of QuickFixJ is used when I run the quickfixj example. I need the quickfixj 1.6.1 which seem to have support for FIX 5. SP2. Can anyone tell me the version of quickfix camel refers to? Also, if it

Re: what is QuickFixJ's version in Apache Camel 2.15.3

2015-09-29 Thread Grzegorz Grzybek
Hello Currently (camel 2.15.3) we use 1.5.3 version: https://github.com/apache/camel/blob/camel-2.15.3/parent/pom.xml#L391 regards Grzegorz Grzybek 2015-09-29 17:32 GMT+02:00 kanu_t : > I recently started exploring QuickFixJ component in Camel 2.15.3. I cannot > figure out which version of Quic

Re: what is QuickFixJ's version in Apache Camel 2.15.3

2015-09-29 Thread Andrea Cosentino
Also, in the next release, 2.16.0, there will be an upgrade to version 1.6.1. -- Andrea Cosentino - Apache Camel PMC Member & Committer Email: ancosen1...@yahoo.com Twitter: @oscerd2 Github: oscerd On Tuesday, September 29, 2015 5:57 PM, Claus Ibsen wrote:

How to stop ERROR logging of ClosedChannelException

2015-09-29 Thread SteveR
I have a stand-alone Java 1.7 application using Camel 2.14 and camel-netty which is running on Linux RHEL6. For a route that consumes from *netty:udp* and also wireTaps to *netty:udp* on a remote server, I get lots of *java.nio.channels.ClosedChannelException* entries at ERROR level in my Camel *r

Re: what is QuickFixJ's version in Apache Camel 2.15.3

2015-09-29 Thread Claus Ibsen
You can find the versions in the parent/pom.xml of the release https://github.com/apache/camel/blob/camel-2.15.3/parent/pom.xml#L391 On Tue, Sep 29, 2015 at 5:32 PM, kanu_t wrote: > I recently started exploring QuickFixJ component in Camel 2.15.3. I cannot > figure out which version of QuickFix

Re: cxf endpoint configuration in java DSL

2015-09-29 Thread dsjaxen
Hi! What impact would setting the service address have on the cxf endpoint? CxfEndpoint serviceEndpoint = new CxfEndpoint(SERVICE_ADDRESS, cxfComponent); I assume that SERVICE_ADDRESS has to be a URL. Would it then listen for soap requests on that URL? I do not want that. All I want is a clie

Re: File component to only process files if modified with noop=true

2015-09-29 Thread hayden74
Thanks Claus. This worked, but not with expression language. My route looks like below: from("{{data.inbox.componentType}}://{{data.inbox.dataDirPath}}?fileName={{file.ownerStatusDataFile}}&idempotentKey=${file:name}-${file:modified}&noop=true") .log("Copying ownerStatusDataFile")

Re: Camel Load Balancer EIP with TCP Endpoints

2015-09-29 Thread Cleocleo
Are we talking about long or short lived TCP connections? E.g does the client open a connection and continue to send/receive messages over a long period of time (how long?) or does the client open a connection, send the message, and then close the connection soon after getting a response/acknowledg

RE: Class Not Found Exception for HTTPOperationFailedException

2015-09-29 Thread Vanshul . Chawla
Changed pom.xml to org.apache.camel,org.slf4j,*,org.apache.camel.component.http And it worked. From: Vanshul.Chawla Sent: Tuesday, September 29, 2015 4:46 PM To: users@camel.apache.org Subject: Class Not Found Exception for HTTPOperationFailedException Hello, I am using this in OnException or

Re: spring osgix:cm-properties not reloading the properties

2015-09-29 Thread Faisal Masood
please specify how did it worked? -- Faisal Masood -- Consultant RedHat Asia-Pacific, Level 35, 100 Miller St, North Sydney, Australia Mob:+61(0)431152932

Re: File component to only process files if modified with noop=true

2015-09-29 Thread Claus Ibsen
Hi Ah yeah you should maybe set eagerMaxMessagesPerPoll=false as well. On Wed, Sep 30, 2015 at 4:55 AM, hayden74 wrote: > Thanks Claus. This worked, but not with expression language. My route looks > like below: > > from("{{data.inbox.componentType}}://{{data.inbox.dataDirPath}}?fileName={{file.