Unexpected shutdow of the Camel context

2016-03-07 Thread ursouca
Dears, I have a strange issue. I have an JEE application (ear) that I deployed on a Frontend servers (2) and Backend servers (2). The same ear is deployed on all servers and a property file is used to activate or not the components and or camel routes on particular servers. I am using Camel versio

camel-websocket installation hangs

2016-03-07 Thread Trey
I'm using Karaf 4.0.4 with Oracle Java 8 and trying to install camel-websocket 2.16.2 and the install hangs. Here are the logs after turning on DEBUG. I don't have issues installing any other camel features. 2016-03-07 15:11:29,457 | DEBUG | 127.0.0.1:4] | proxy |

Re: Polling http endpoints

2016-03-07 Thread Quinn Stevenson
Sorry - I forgot that the loop DSL doesn’t take a predicate. How about this - configure redelivery handling on your main route, and then have the direct route throw an exception if the payload isn’t ready. Here’s a mocked example: public class MyRouteBuilder extends RouteBuilder { Processor

RE: About Stream Caching

2016-03-07 Thread Goyal, Arpit
Hi Matt, That was my initial gut feeling. Do you have any additional details of how to handle such use cases? Are they dependent on the container in which Camel is running and for Reliable Delivery of message we have to build DB/In-memory repositories? Regards, Arpit. -Original Message--

3rd Message getting stuck as an inflight message

2016-03-07 Thread abhijit.kulkarni
Hello, I am using Apache Camel 2.15.0 and Spring DSL. I have a route which starts automatically as a restlet. see below the outline of the route - Accepts a JSON Message and perfroms various activities http://camel.465427.n5.nabbl

Re: About Stream Caching

2016-03-07 Thread Matt Sicker
Well, for the rapid burst of messages, I'd probably work on tuning how many concurrent consumers are used for that endpoint. If you need to transfer them really fast for further processing, you could use the seda component or camel-disruptor if you want to use a 3rd party library with it. For the

swagger exclude OPTIONS route in UI

2016-03-07 Thread camel_case
Swagger insists on creating an OPTIONS route which it automatically tests before running a POST. Is there a way to have OPTIONS then not appear in the swagger UI? -- View this message in context: http://camel.465427.n5.nabble.com/swagger-exclude-OPTIONS-route-in-UI-tp5778714.html Sent from the

Camel Spring-Ws -> MTOM Attachments

2016-03-07 Thread bwest
Greetings, I'm trying to figure out how to make a call to a SOAP web service via the camel spring-ws component. This webservice returns an attachment that is a pdf, ideally i'd like to retrieve that response and write the pdf to disk. However I'm struggling trying to find a method to retrieve t

Camel jetty Dead Lock and Threadfull based ServiceMix 5.3.0

2016-03-07 Thread sjlee7373
Hi, I have a problem with camel in ServiceMix. I made webservice throught camel-jetty, camel-recipentlist in servicemix. This package is good performance but resource lock and thread full ocurred it. This system process 40 Call per second. The problem is that pool threads aren't released proper

Need to consume multiple SOAP and REST webservices and expose result as SOAP as well as REST endpoint

2016-03-07 Thread amitmahesh
We need to fetch data from 3 SOAP webservices and 2 REST services in a sequential manner, process the data and expose the Result as both SOAP and REST webservices to be consumed by end user. What should be the best approach to implement this. Can we avoid SOAP/REST to POJO marshalling. that will g

Re: Camel jetty Dead Lock and Threadfull based ServiceMix 5.3.0

2016-03-07 Thread Claus Ibsen
On Tue, Mar 8, 2016 at 2:15 AM, sjlee7373 wrote: > Hi, > > I have a problem with camel in ServiceMix. > > I made webservice throught camel-jetty, camel-recipentlist in servicemix. > This package is good performance but resource lock and thread full ocurred > it. This system process 40 Call per sec

Re: swagger exclude OPTIONS route in UI

2016-03-07 Thread Claus Ibsen
Hi I dont think people understand your question, can you try to explain this more On Mon, Mar 7, 2016 at 11:15 PM, camel_case wrote: > Swagger insists on creating an OPTIONS route which it automatically tests > before running a POST. Is there a way to have OPTIONS then not appear in > the swagg

Re: CAMEL 2.16.2 and Swagger

2016-03-07 Thread Claus Ibsen
Can you upgrade the swagger-java library as there is a bug in it afaik. There is a newer 1.5.7 release. On Fri, Mar 4, 2016 at 5:40 PM, Gerald Mixa wrote: > Hi, > > i have just tried out the camel swagger plugin example which is shipped > with 2.16. > So far it seems to work. But when i go to the

Re: Polling http endpoints

2016-03-07 Thread Claus Ibsen
On Mon, Mar 7, 2016 at 4:23 PM, Quinn Stevenson wrote: > Sorry - I forgot that the loop DSL doesn’t take a predicate. > Yeah its been talked about from time to time about this need. I have logged a ticket https://issues.apache.org/jira/browse/CAMEL-9675 > How about this - configure redelivery h

Re: How to throw an exception from camel route

2016-03-07 Thread Claus Ibsen
There is a you can use from Spring DSL. On Thu, Mar 3, 2016 at 3:43 PM, ravivadgaonkar wrote: > I am calling a camel route from java class using a proxy. > I wanted the camel route to throw an exception on certain condition (in my > case when it hits 404 response). > The java class needs to be c

Re: Using apache camel failover loadbalancer

2016-03-07 Thread Claus Ibsen
Hi Study the examples here http://camel.apache.org/load-balancer.html On Thu, Mar 3, 2016 at 7:44 AM, mnl wrote: > I am new to camel and trying to use failover loadbalancer. I have list of > endpoints (say, A, B, C) which can be used to send message such that if one > fails the endpoint next in