Shutting down camel and consumers

2017-07-27 Thread gludington
When I attempt to shutdown a camel context, the main thread stays open, seemingly parked on the consumer. For example, using a small variation on the console sample (at end of message), which uses stream:in and stream:out, I can start up a context, either using a SpringCamelContext or using org.ap

RE: camel route to remote EJB using karaf blueprint

2017-07-27 Thread Matthew Shaw
Thanks Rafael, I will create a git example for reference shortly and post the link. -Original Message- From: Rafael Soares [mailto:rafael...@gmail.com] Sent: Wednesday, 26 July 2017 9:50 PM To: users@camel.apache.org Subject: RE: camel route to remote EJB using karaf blueprint Great! F

RE: CxfEndpoint and wsdl message part issue

2017-07-27 Thread Matthew Shaw
Hi Zoran, Thanks I have tried with embedded xsd but no luck unfortunately. I've changed the data format from POJO to PAYLOAD and it seems to be working, but now I have to do the serialization / deserialization myself. Not ideal I guess as the POJO option looked really good. I still don't unders

Scaling in Jboss Fuse 6.3 container services.

2017-07-27 Thread shah_naman2001
Dear Team, Currently we have jboss fuse 6.3 with 150+ service running across 3 nodes in 5 containers each . how can we scale only few specific services? Any recommendation without much code changes. Thanks in advance. Regards, -- View this message in context: http://camel.465427.n5.nabble.c

Need help for Oauth2.0 API call

2017-07-27 Thread Vanshul . Chawla
Hello, We are implementing an API call to external API which supports Oauth2.0. It's a https call . I got links saying Oauth2.0 is not supported. Is there any workaround for Oauth 2.0 in Camel http-4 or http component? Vanshul

Re: Re: Re: Streaming Cassandra Table ( Polling every 5s - Near Realtime )

2017-07-27 Thread SenthilKumar K
Sure , Let me learn and come back to forum if any questions! --Senthil On Thu, Jul 27, 2017 at 11:30 AM, Andrea Cosentino wrote: > Maybe you need to learn a bit about camel. What camel is and what is a > consumer. > There is a lot of documentation on the website. > > Il mer, 26 lug, 2017 alle 2

Re: shutdown strategy is set on context level / way of route level?

2017-07-27 Thread Onder SEZGIN
Thanks Zoran. Idempotent consumer is nice option but it brings (persistence is essential for me not to lose messages) persistence problem and using a repository to write the messages and idempotent consumer will do check against the repository. This will bring a delay for the probably. (potential p

Re: Application halts for 30 minutes or until restart

2017-07-27 Thread James Green
I have a thread dump with it hung - uploaded to fastthread.io and received a smiley face - there's nothing wrong! Here's the gist if anyone can spot something obvious: https://gist.github.com/jmkgreen/a293ace71678a1ae2a5aac7b6408876e The notable thing is that wiretap is being used and features -

Re: CxfEndpoint and wsdl message part issue

2017-07-27 Thread Zoran Regvart
Hi Matthew, on first sight that import in WSDL looks fishy to me, perhaps you can try embedding the XSD in the WSDL? I'm sure you have seen it but if you haven't there is an example with Camel and CXF in OSGI[1] that you can try to play with, zoran [1] https://github.com/apache/camel/tree/master/

Re: shutdown strategy is set on context level / way of route level?

2017-07-27 Thread Zoran Regvart
Hi Önder, I think it might be worth looking into idempotent consumer pattern[1], or roll your own logic based on not committing the transaction that updates the status to 1 until finished and locking the row beforehand, and some databases (Oracle IIRC) have a SKIP LOCKED clause that you can use to

Re: Application halts for 30 minutes or until restart

2017-07-27 Thread Zoran Regvart
Hi James, besides the obvious garbage collector pauses, one thing that might reveal the problem is to do periodic thread dumps and look if there are any locking issues. And perhaps increasing the verbosity of the logs can give you more clues, zoran On Thu, Jul 27, 2017 at 9:58 AM, James Green wr

Application halts for 30 minutes or until restart

2017-07-27 Thread James Green
This is a Spring Boot 1.3 application that was recently re-imaged (Docker) and rebooted after several months of loyal service. We are unaware of any major changes beyond going from java:8 to openjdk:8. It receives payloads from ActiveMQ, works against Mongo, and spits out payloads to HTTP and SMTP

Re: Problem with ssh under camel 2.19.0 (BUMP)

2017-07-27 Thread Onder SEZGIN
Hi Daniel, It seems in camel-ssh component, the ssh sessions and channels should be created with right options to enforce known_hosts awareness. Not sure if this is supported yet. For now it seems, keyverifier somehow passes through the lines as below. https://github.com/apache/mina-sshd/blob/ma