Re: ProducerTemplate and Exception Management

2012-08-22 Thread Scott England-Sullivan
Hi Hervé, The two exceptions you are referring too are actually two different points in the lifecycle of an endpoint. The NoSuchEndpointException is an initialization exception vs CamelExecutionException which is typically thrown as a result of processing the exchange through a route. Therefore

ProducerTemplate and Exception Management

2012-08-17 Thread Hervé BARRAULT
Hi, I used a producer template to send a body. I have found a method which is void *sendBody*(String endpointUri, Object body