Managing scheduled jobs programmatically in Camel

2015-01-21 Thread Gershaw, Geoffrey A.
Hello All, I'm using camel 2.14.1 and have the following use case that I can't figure out how to solve in a Camel way. 1.We receive XML messages from JMS and convert them to FIX and send them to a quickfixj endpoint. No questions there. 2.The XML message may contain a frequency tag.

Logging throttled messages?

2015-01-21 Thread Anton Hughes
Hi We are looking at using the throttler, but would like to know if it is possible to log throttled messages. Does anyone know if that is possible? Thanks

Re: Choosing between Mapping Options

2015-01-21 Thread Reji Mathews
Hi Satyam XSLT/XQuery is cleaner, better performing and above all easy to update and maintain. Maintaining or making any change in java object based mapping is more time consuming and calls for code checkout edit , project re compiling / re bundling and re deployments . If xsd undergoes

Re: how to run a consumer route once?

2015-01-21 Thread aidatechinc
yep that did it. thank you -- View this message in context: http://camel.465427.n5.nabble.com/how-to-run-a-consumer-route-once-tp5761932p5762003.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: CXFRS component to expose Rest apis

2015-01-21 Thread cgsk
Thanks for the reply. What is the impact in running multiple rssservers interms of performance? Regards. -- View this message in context: http://camel.465427.n5.nabble.com/CXFRS-component-to-expose-Rest-apis-tp5761958p5761989.html Sent from the Camel - Users mailing list archive at

Re: Messages sitting on ActiveMq for x period of time

2015-01-21 Thread James Green
May be worth connecting to ActiveMQ to inspect it at the JMX level (hawt.io is an excellent interface). Check why ActiveMQ thinks it should not be delivering it. On 21 January 2015 at 04:29, mvandersteen mark.vanderst...@servicestream.com.au wrote: Hi Guys, I have 1 queue created through

Re: Rest DSL Exception mapping

2015-01-21 Thread James Green
Just re-reading the Binding POJOs bit, will this also take effect for the out part of an exception? onException(MyException.class).handled(true).setHeader(Exchange.HTTP_RESPONSE_CODE, constant(400)).process(myExceptionHandler).end() Should I expect the Message provided by myExceptionHandler to

Re: Rest DSL Exception mapping

2015-01-21 Thread Claus Ibsen
You can use the option skipBindingOnErrorCode to control if the binding should happen or not. On Wed, Jan 21, 2015 at 1:24 PM, James Green james.mk.gr...@gmail.com wrote: Just re-reading the Binding POJOs bit, will this also take effect for the out part of an exception?

RE: Input directory with multiple file consumers

2015-01-21 Thread Raf
I am no camel expert, but this is my experience. If you monitor a folder from multiple camel instances (for instance when you deploy on multiple servers) then you can only poll for 1 . If that is not the case you can poll for multiple messages. By maxMessagesPerPoll=10 to poll for 10 messages Or

Re: Camel-CXF: Problems transforming namespace of incoming message

2015-01-21 Thread Aki Yoshida
Hi Dirk, The transform itself should actually take place with the original interceptor, as the actual output object is replaced with the stax-transform'ed XMLStreamWriter regardless of its role. So, I am not sure why your scenario was not working initially. But I am not sure why the special