Camel 2.18.2 Spring Boot Unit Tests - Does mockOut.expectedMessageCount work?

2017-02-17 Thread owain
I am experimenting with moving an application over from Blueprint to Spring Boot. I have set up two routes. Route A and tests work fine. Route B I am unable to receive an exchange on mock:out to satisfy mockOut.expectedMessageCount(1); and I get java.lang.AssertionError: mock://out Rece

Re: Package visibility for RedeliveryErrorHandler.RedeliveryData.currentRedeliveryPolicy

2017-02-17 Thread Claus Ibsen
Study error handler some more it can do a lot. And if you have Camel in Action 2nd ed book then read the chapter it cover a lot about error handling and how it works. On Fri, Feb 17, 2017 at 4:44 PM, davide_cavestro wrote: > @Claus could you please elaborate on it? > > How can I react to excepti

Re: Package visibility for RedeliveryErrorHandler.RedeliveryData.currentRedeliveryPolicy

2017-02-17 Thread davide_cavestro
@Claus could you please elaborate on it? How can I react to exceptions, based on their types and some related configuration defined for the whole context? i.e. I need to enrich the original redelivery behavior with further attempts (out-of-process) Claus Ibsen-2 wrote > Hi > > This is not inten

Package visibility for RedeliveryErrorHandler.RedeliveryData.currentRedeliveryPolicy

2017-02-17 Thread davide_cavestro
I need to enrich the /RedeliveryPolicy/ with custom attributes, so I have subclassed it. Then I subclassed /DefaultExceptionPolicyStrategy/ in order to properly map custom /RedeliveryPolicy/ instances to exception types. On a /Processor/ configured as /DeadLetterChannelBuilder.onExceptionOccurred/

Re: Camel 2.16.2 - No org.apache.qpid.jms.JmsConnectionFactory

2017-02-17 Thread Mark
That works. Thanks Tomo. FYI, I tried 2.18.2 and did not have the dependency problem. On Fri, Feb 17, 2017 at 10:29 AM, Tomohisa Igarashi wrote: > Hi, > > Can you try adding org.apache.qpid:qpid-jms-client? > > Thanks, > Tomo > > > On 02/18/2017 12:08 AM, Mark wrote: > >> I am building a route

Re: Package visibility for RedeliveryErrorHandler.RedeliveryData.currentRedeliveryPolicy

2017-02-17 Thread Claus Ibsen
Hi This is not intended for end users to do On Fri, Feb 17, 2017 at 4:09 PM, davide_cavestro wrote: > I need to enrich the /RedeliveryPolicy/ with custom attributes, so I have > subclassed it. > Then I subclassed /DefaultExceptionPolicyStrategy/ in order to properly map > custom /RedeliveryPolic

Re: Stoping SEDA and thread interruption

2017-02-17 Thread Claus Ibsen
Dont use so little timeout with only 1 second, set it as a higher value On Fri, Feb 17, 2017 at 4:06 PM, Vincenzo De Vivo wrote: > Hi, > we have the following route starting with a SEDA queue: > > RouteDefinition sedaMediaRoute = from("seda:test?concurrentConsumers=2 >> &size=10"); >> sedaMediaRo

Re: Camel JPA Thread Hung

2017-02-17 Thread Gnana
-- View this message in context: http://camel.465427.n5.nabble.com/Camel-JPA-Thread-Hung-tp5794001p5794044.html Sent from the Camel - Users mailing list archive at Nabble.com.

Stoping SEDA and thread interruption

2017-02-17 Thread Vincenzo De Vivo
Hi, we have the following route starting with a SEDA queue: RouteDefinition sedaMediaRoute = from("seda:test?concurrentConsumers=2 > &size=10"); > sedaMediaRoute.setId(MEDIA_PROCESSOR_QUEUE_ROUTE_ID); > sedaMediaRoute.to("bean:testProcessor"); > We are stopping the route in this way: camelContex

Re: Camel 2.16.2 - No org.apache.qpid.jms.JmsConnectionFactory

2017-02-17 Thread Tomohisa Igarashi
Hi, Can you try adding org.apache.qpid:qpid-jms-client? Thanks, Tomo On 02/18/2017 12:08 AM, Mark wrote: I am building a route using the camel-amqp component and I'm following the example from http://camel.apache.org/amqp.html. When I start up my camel route I get the following exception. Is

Camel 2.16.2 - No org.apache.qpid.jms.JmsConnectionFactory

2017-02-17 Thread Mark
I am building a route using the camel-amqp component and I'm following the example from http://camel.apache.org/amqp.html. When I start up my camel route I get the following exception. Is there another dependency I'm missing? I've added camel-core and camel-amqp to my pom.xml. java.lang.reflect

Re: Camel JPA Thread Hung

2017-02-17 Thread Marcel Lanz
Hi could you provide the route you defined with the parameters defined? Marcel > On 17 Feb 2017, at 00:06, Gnana wrote: > > Hi All,I have created one route which has JPA component to poll the records > from DB periodically. it is working good. I hope each route has one worker > thread. if DB i

Re: Facebook component Documentation on website

2017-02-17 Thread Andrea Cosentino
The .adoc are the updated one. We are migrating all the documentation to .adoc. -- Andrea Cosentino -- Apache Camel PMC Member Apache Karaf Committer Apache Servicemix Committer Email: ancosen1...@yahoo.com Twitter: @oscerd2 Github: oscerd On Friday, February 1

Facebook component Documentation on website

2017-02-17 Thread Ravindra Godbole
As per the documentation available for this component on the website [ http://camel.apache.org/facebook.html ] , some endpoints are deprecated. i.e. activities / checkins / interests / location / notes etc It will be good if document mentions the Facebook API version with which endpoint will work

Re: Error encrypting value using camel-jasypt-2.18.1.jar

2017-02-17 Thread Claus Ibsen
Hi Ah that is a little shame. We would maybe need to update the docs to tell about which other JARs you need to add. You are welcome to find out and provide a github PR to update the docs at https://github.com/apache/camel/blob/master/components/camel-jasypt/src/main/docs/jasypt.adoc And a JIRA i

Camel JPA Thread Hung

2017-02-17 Thread Gnana
Hi All,I have created one route which has JPA component to poll the records from DB periodically. it is working good. I hope each route has one worker thread. if DB is down or any N/W issue for minute, route is not working as expected. application is running.( it is not polling records from DB even

Error occurs when I specify a "wsdlURL" in my cxfendpoint blueprint definition

2017-02-17 Thread Harrison Tarr
Good afternoon, I recently ran into an issue when changing a WSDL in my project. I noticed the new changes weren’t recognized by my CXF endpoint. It turns out, it looks like it’s using a WSDL from elsewhere in my project. So therefore, I’d like to specify exactly which wsdl file to use in the