Logging the execution time over multiple routes

2018-11-08 Thread Rajith Muditha Attapattu
We have the following scenario. The aggregate has a timeout. Route1 JMS/REST ---> transform --> aggregate --> Queue. Route2 Queue --> transform-to-xml ---> SAP. We want to find out the total time it took to send a payload into SAP. The start time should be when the first payload in the batch was

Re: Creating a subscription between an AWS SNS Topic and an AWS SQS Queue

2018-11-08 Thread Andrea Cosentino
Actually it's not possible. Please raise a JIRA for an improvement in this area. I think we'll have to resolve the problem of being able to subscribe, because in a single component we'll need to use two different client one for SNS and one for SQS. Thanks for spotting this. -- Andrea Cosentino

Re: R: Creating Amazon SQS Queue with Server-Side Encryption

2018-11-08 Thread Andrea Cosentino
I created this issue if you want to contribute: https://issues.apache.org/jira/browse/CAMEL-12919 More info about contributing here: https://github.com/apache/camel/blob/master/CONTRIBUTING.md -- Andrea Cosentino  -- Apache Camel PMC Chair Apache Karaf Committer A

Retrieving time taken to invoke a remote endpoint

2018-11-08 Thread Rajith Muditha Attapattu
Assume a route as follows .. .to(myRemoteEndpoint) .log(...) I was wondering if there's a way to retrieve the time taken to invoke the remote endpoint so it can be logged in the next step? I'm aware that we can define an id for that step and use jmx or we can use an event listener and use get

Problem with netty4:udp and udpByteArrayCodec=true

2018-11-08 Thread Ron Cecchini
First, a couple of thank yous several weeks in the making: Thank you to Claus (as always) for help regarding replacing camel-rabbitmq with a custom class. Indeed, I only needed to do a write. So using 'to("bean:myBean?method=process)' worked perfectly. Thank you to Zoran for advice on Sprin