Re: CamelBlueprintTestSupport doesn't like 6 directories deep

2016-09-06 Thread Brad Johnson
By the way, which version of CBTS are you using. There were definitely flaky issues with it in earlier versions. Even if you are using earlier versions of Camel I've found that you can use the later version of CBTS (like 2.17.3) and it will fix a lot of the problems. In some of the earliest vers

Re: CamelBlueprintTestSupport doesn't like 6 directories deep

2016-09-06 Thread sohrab
I should make a correction here. I just found out using "target" directory resolves the issues in almost all scenarios (e.g. on our build server and most development machines). But even with this fix, I am able reproduce the issue on some development machines still. *On those machines, the work-ar

Adding MQMD headers to IBM MQ using camel

2016-09-06 Thread ravi21588
Hi All, I need to add application specific headers in MQMD part of IBM MQ. Can you please tell me how can i add it.? -- View this message in context: http://camel.465427.n5.nabble.com/Adding-MQMD-headers-to-IBM-MQ-using-camel-tp5787257.html Sent from the Camel - Users mailing list archive at Na

Re: Cut a file into multiple files

2016-09-06 Thread Brad Johnson
I'd definitely look at Beanio and the Camel bundle/library for it. It's relatively easy to create identifiers in that way and segregate those out as beans. So every bean class might have a header (or not since it seems static and throwaway) and then 0...M lines that could be mapped into the bean.

Camel Metrics

2016-09-06 Thread SaurabhNayar
I have incorporated Camel Statistics in my project. And they are awesome. I am trying to capture custom statistics for idempotent Consumer component like below:.to("metrics:timer:idempotentTimer?action=start") .idempotentConsumer(simple("${body.id}"), jdbcMessageIdRe

Re: Implementing SMS Router

2016-09-06 Thread Walzer, Thomas
Hi, from a brief look into sms router on Github I would say it should be easy to exchange activemq for something else. Just change in CamelContext.xml to values your Wildfly broker commands. You probably have to configure the pom.xml too. Personally I would try to ge

Re: CamelBlueprintTestSupport doesn't like 6 directories deep

2016-09-06 Thread Brad Johnson
Wish I knew Gradle's better but unfortunately don't. **If anyone else encountered this, the work-around is to use "target"directory as the Gradle's buildDir; then the test passes in any directory!** So no matter what setting the buildDir will work whether you are 5 levels deep or 15 levels deep?

Re: Configuring Message Transformatin on ConnectionFactory (ACTIVEMQ)

2016-09-06 Thread tippse
sorry, I didn't realise, that the linked article is not up-to-date. the class org.apache.activemq.util.oxm.XStreamMessageTransformer seems to be deprecated after activemq 5.7.0. I couldn't find proper replacement. any suggestions here are welcome, but this ist obviously no camel problem. I got

Configuring Message Transformatin on ConnectionFactory (ACTIVEMQ)

2016-09-06 Thread tippse
as explained here: ( http://activemq.apache.org/message-transformation.html ) a Message Transformer can be configured on the connection factory. That way all objectmessages are transformed automatically. Is there a way to use this in camel