If-Modified-Since header causing 500 errors with Camel 2.18.4

2017-11-06 Thread Rajpal Paryani
Hi, We have recently switched to Apache Camel 2.18.4 in our web service from the older version 2.11.1. We use camel for routing our http calls to underlying sub services so that the responsibilities are separated. One of our services has a CDN infront of the camel endpoint, so it frequently sends

If-Modified-Since header causing 500 errors with Camel 2.18.4

2017-11-06 Thread Rajpal Paryani
Hi, We have recently switched to Apache Camel 2.18.4 in our web service from the older version 2.11.1. We use camel for routing our http calls to underlying sub services so that the responsibilities are separated. One of our services has a CDN infront of the camel endpoint, so it frequently sends

Camel exception handling

2017-11-06 Thread David Hoffer
I’m having trouble getting the exception behavior I’m looking for. What I expected this to do is when any exception is thrown it will cause this route to fail and not do any retries as the docs say that no onException retries is the default. However instead it retries forever as long as the handl

Re: Camel CDI with standalone JTA in Weld SE

2017-11-06 Thread Gary Hodgson
Hi Antonin. Thanks for the response. I attempted a naive implementation of TransactionServices and it appears to load via the serviceloader correctly, and produce UserTransactions: https://github.com/garyhodgson/camel-example-cdi-standalone-jta/blob/TransactionServices/src/main/java/org/apache/ca

Re: Camel CDI with standalone JTA in Weld SE

2017-11-06 Thread Antonin Stefanutti
Hi Gary, Your CDI producers for the ActiveMQ component and the transaction manager look OK (aside that you would have to destroy the connection factory in a dispose method). However The way you produce the UserTransaction may be problematic. With Weld SE, you would typically implement org.jbo