Re: HOW TO SORT EMAIL POLLING

2015-08-18 Thread Claus Ibsen
Hi You can use the sortTerm option http://camel.apache.org/mail.html On Tue, Aug 18, 2015 at 10:48 PM, Mills, Gary (GE Energy Management, consultant) wrote: > Hello all, > > I need to be able to pull files from email in time sequential order. How can > you do this in camel apache, does anyone

Re: Confusing documentation for ftp component

2015-08-18 Thread Claus Ibsen
You can use s m or h etc for seconds, minutes and hours. So 5s is 5 seconds. delay and consumer.delay is the same option. On Tue, Aug 18, 2015 at 2:41 PM, Knut-Håvard Aksnes wrote: > I have some problems with some of the documentation related to delay and > backoff: > > In http://camel.apache.or

Re: camel log taking a string

2015-08-18 Thread Claus Ibsen
Yes its a logging message and only for simple language. And a string is the best to use. http://camel.apache.org/logeip On Wed, Aug 19, 2015 at 6:40 AM, Christophe Pache wrote: > Hello everyone. > > I'm wondering why the log keyword might not take an expression. As far as I > know, the "message

Re: Want to keep original file but want to delete done file.

2015-08-18 Thread Manish
Thanks for the response.. I have created a java bean to delete the trigger file.. I have another doubt using the CamelSplitComplete property.. ${property.CamelSplitComplete} I wanted to delete trigger file only if ${property.CamelSplitComplete} is true..

camel log taking a string

2015-08-18 Thread Christophe Pache
Hello everyone. I'm wondering why the log keyword might not take an expression. As far as I know, the "message" is turned into an expression in the LogDefinition.createProcessor method. is it because it should only use the simple expression language? Thanks a lot, Christophe -- View this mess

Re: Not sure why I get DirectConsumerNotAvailableException: No consumers available on endpoint

2015-08-18 Thread apara
So, after reading some more, I decided to add a manual start: //Add the route to the context // camelContext .addRoutes( new PipelineRouteBuilder( camelContext, order,

Re: Not sure why I get DirectConsumerNotAvailableException: No consumers available on endpoint

2015-08-18 Thread apara
When I change the direct:// to vm:// I don't get an error right away, but in 30 seconds I get: ExchangeTimedOutException: The OUT message was not received within: 3 millis So, somehow the route is not attaching to the end point? Here is the code as it stands now: public ProducerTemplat

Not sure why I get DirectConsumerNotAvailableException: No consumers available on endpoint

2015-08-18 Thread apara
So, I essentially have two RouteBuilders. The MainRouteBuilder uses the services of the PipelineRouteBuilder to create the routes. RouteInitializer is a Spring bean which acts as a controller mainly interfacing with spring and issuing a new on MainRouteBuilder. Everything works fine and the appl

HOW TO SORT EMAIL POLLING

2015-08-18 Thread Mills, Gary (GE Energy Management, consultant)
Hello all, I need to be able to pull files from email in time sequential order. How can you do this in camel apache, does anyone have experience here? Thank you, Gary

Re: OSGI Service look up

2015-08-18 Thread Raul Kripalani
Are you using Spring or Blueprint in your Camel application? If yes, you can use elements to get a hold of the OSGi Service. Otherwise, since you haven't indicated what 'ctx' is in your example, and judging by your lookup notation, I will assume it is an InitialContext plumbed against Aries JNDI.

Re: OSGI Service look up

2015-08-18 Thread Franz Paul Forsthofer
Hi, from the camel message you can get the exchange and from the exchange the camel context message.getExchange().getContext(). Regards Franz On Tue, Aug 11, 2015 at 5:54 PM, akoufoudakis wrote: > Dear all! > > I know that one can lookup for an OSGi service the following way: > Runnable r = (R

Re: Set logging level for a particular bundle to ERROR

2015-08-18 Thread Morgan Hautman
Hi, Take a look at the "sift appender". Ref: https://karaf.apache.org/manual/latest/users-guide/log.html Regards, Morgan 2015-08-18 14:21 GMT+02:00 Satyam Maloo : > How do I set the logging level for a particular bundle to ERROR mode but > the > other bundles should be in debug mode. > > Probl

Confusing documentation for ftp component

2015-08-18 Thread Knut-Håvard Aksnes
I have some problems with some of the documentation related to delay and backoff: In http://camel.apache.org/polling-consumer.html section titled Using backoff to let the scheduler be less aggressive there is an example using a ft url with delay=5s&backoffMultiplier=6&backoffIdleThreshold=5 First

Set logging level for a particular bundle to ERROR

2015-08-18 Thread Satyam Maloo
How do I set the logging level for a particular bundle to ERROR mode but the other bundles should be in debug mode. Problem: We have a timer component which is polling a queue based on some criteria. This bundle is generating a lot of logs and the fuse logs are getting rolled over in a few minutes

File write -Data missing when writing to NAS

2015-08-18 Thread Vanshul . Chawla
Hello , We are writing files to 1. Local folder under jboss fuse installation 2. NAS folders Data which gets inserted to local folders is perfect and total records count match. Data which gets written to NAS has data issues and count is always less. Our volumes are high so we tr

Re: Cannot use ${file:xx} in blueprint route / properties

2015-08-18 Thread rwijngaa
Thanks Claus, that worked! -- View this message in context: http://camel.465427.n5.nabble.com/Cannot-use-file-xx-in-blueprint-route-properties-tp5770764p5770785.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: New to camel need some help

2015-08-18 Thread Claus Ibsen
Hi Take a look at http://camel.apache.org/how-can-i-stop-a-route-from-a-route.html http://camel.apache.org/graceful-shutdown.html On Mon, Aug 17, 2015 at 4:21 PM, kishoreJ wrote: > hello all i am new to camel > > I am wondering how can we stop certain routes instead of completely stopping > th

New to camel need some help

2015-08-18 Thread kishoreJ
hello all i am new to camel I am wondering how can we stop certain routes instead of completely stopping the whole camel context and also is there any other alternative for Thread.sleep(); method for processing. I would like to run a route once and stop the route when the route is completed. Curr