AW: Sprint Unit test fails when OnCompletion configured

2017-10-29 Thread Oliver Wulff
apache.org Betreff: Re: Sprint Unit test fails when OnCompletion configured Hi Yeah I have reproduced the issue and logged a ticket https://issues.apache.org/jira/browse/CAMEL-11962 On Fri, Oct 27, 2017 at 9:13 PM, Oliver Wulff wrote: > I've added the following snippet to my test class but s

AW: Sprint Unit test fails when OnCompletion configured

2017-10-27 Thread Oliver Wulff
laus Ibsen Gesendet: Freitag, 27. Oktober 2017 17:36:50 An: users@camel.apache.org Betreff: Re: Sprint Unit test fails when OnCompletion configured Make sure to configure your unit test that you are using advice with There is a alert box about this in the docs On Fri, Oct 27, 2017 at 5:31 PM, Oliver Wu

AW: Sprint Unit test fails when OnCompletion configured

2017-10-27 Thread Oliver Wulff
It's failing with the same error in version 2.18.5, 2.19.3 and 2.20.0 as well. Von: Oliver Wulff Gesendet: Freitag, 27. Oktober 2017 17:27:06 An: users@camel.apache.org Betreff: AW: Sprint Unit test fails when OnCompletion configured Sorry for missing

AW: Sprint Unit test fails when OnCompletion configured

2017-10-27 Thread Oliver Wulff
ct 27, 2017 at 4:12 PM, Oliver Wulff wrote: > Hi all > > > I've got a very simple route which reads from a file, does some processing > and then sends it by mail. I've also created a unit test based on > CamelSpringTestSupport where I mock the smtp endpoint and

Sprint Unit test fails when OnCompletion configured

2017-10-27 Thread Oliver Wulff
Hi all I've got a very simple route which reads from a file, does some processing and then sends it by mail. I've also created a unit test based on CamelSpringTestSupport where I mock the smtp endpoint and update the consuming endpoint: @Override protected void doPostSetup(

AW: Several ExchangeCompleted events within one route

2017-07-19 Thread Oliver Wulff
__ Von: Oliver Wulff Gesendet: Dienstag, 18. Juli 2017 09:25:22 An: users@camel.apache.org Betreff: Several ExchangeCompleted events within one route Hi there I was testing the EventNotifier functionality in Camel and noticed that for a single route there were several ExchangeCompleted event

Several ExchangeCompleted events within one route

2017-07-18 Thread Oliver Wulff
Hi there I was testing the EventNotifier functionality in Camel and noticed that for a single route there were several ExchangeCompleted events. One for every "

AW: file input with tail -f behaviour

2017-03-28 Thread Oliver Wulff
do you mean by start from beginning? It ought to read line by line when the file is appended. And if a new file is created it starts from top again. If you shutdown Camel, it does not remember where it was last time, and start all over again On Fri, Mar 24, 2017 at 11:28 AM, Oliver Wulff wrote

file input with tail -f behaviour

2017-03-24 Thread Oliver Wulff
Hi there I've tried to use the stream input component to listen on changes within a file to process the lines one by one. But I noticed it always starts from the beginning. Is there an option in Camel to have "tail -f" behaviour to trigger my route? Thanks Oli

AW: MDC logging for different route

2016-12-20 Thread Oliver Wulff
As far as I understand your use case, the following JIRA addresses your requirement as well: https://issues.apache.org/jira/browse/CAMEL-10624 Von: intelccdodemo Gesendet: Dienstag, 20. Dezember 2016 09:10:08 An: users@camel.apache.org Betreff: MDC logging for d

AW: Custom MDC property per exchange

2016-12-20 Thread Oliver Wulff
I've created the following JIRA: https://issues.apache.org/jira/browse/CAMEL-10624 Von: Oliver Wulff Gesendet: Freitag, 16. Dezember 2016 13:44:08 An: users@camel.apache.org Betreff: AW: Custom MDC property per exchange Maybe something like this will e

AW: Custom MDC property per exchange

2016-12-16 Thread Oliver Wulff
provided. On Fri, Dec 16, 2016 at 10:14 AM, Oliver Wulff wrote: > Hi Claus > > > Thanks for the feedback. I've read this as well but I got the opinion that > it's not a fit for me. As far as I understand from the interface UnitOfWork > it looks to me to allow on

AW: Custom MDC property per exchange

2016-12-16 Thread Oliver Wulff
And then there is a UnitOfWorkFactory you need to create and setup which creates your custom one. And yes you need to cleanup stuff with thread context switches and whatnot, see how the existing does that, and you can do similar thing. On Thu, Dec 15, 2016 at 6:50 PM, Oliver Wulff wrote: > H

Custom MDC property per exchange

2016-12-15 Thread Oliver Wulff
Hi there Camel has already support for MDC logging. I also saw some discussion about adding static(!) MDC values when the context starts. I'd like to enhance it and add some application specific context information to every new exchange like. First I parse the message and set some headers but

AW: Instead of parallel JMS consumption only sequentially processed

2016-11-25 Thread Oliver Wulff
:02 An: users@camel.apache.org Betreff: Re: Instead of parallel JMS consumption only sequentially processed Set a lower prefetch buffer on ActiveMQ as each consumer polls in 1000 messages by default. On Thu, Nov 24, 2016 at 2:54 PM, Oliver Wulff wrote: > Hi there > > > I've deployed

RE: CxfHeaderFilterStrategy doesn't drop SOAP headers

2014-02-07 Thread Oliver Wulff
Hi Scott I've tried that but still the soap headers are not dropped. Thanks Oli From: scottdawson [sc.e.daw...@gmail.com] Sent: 06 February 2014 17:17 To: users@camel.apache.org Subject: RE: CxfHeaderFilterStrategy doesn't drop SOAP headers Oli, What hap

RE: CxfHeaderFilterStrategy doesn't drop SOAP headers

2014-02-06 Thread Oliver Wulff
doesn't drop SOAP headers Hi Oli I think it is exactly the same side-effect which was reported by one of CXFRS users: https://issues.apache.org/jira/browse/CAMEL-6865 I believe this is configurable, but can be rather unexpected all right... Sergey On 06/02/14 14:25, Oliver Wulff wrote:

CxfHeaderFilterStrategy doesn't drop SOAP headers

2014-02-06 Thread Oliver Wulff
Hi there I've created the following Camel route: http://camel.apache.org/schema/spring";> The data format is CXF_MESSAGE. This should drop the incoming SOAP headers. The cxf component which produces the message for the target web services reques

CXF route in blueprint with policy and sts

2013-11-18 Thread Oliver Wulff
Hi there I've created a simple route in blueprint from cxf endpoint to another cxf endpoint. When I deploy this in Karaf the bundle stays in "GracePeriod" and the following exception is logged: 2013-11-18 16:06:36,556 | INFO | Thread-842 | BlueprintContainerImpl | container.Bl

RE: delete records of db table before importing from csv

2012-11-16 Thread Oliver Wulff
: ${in.body[0]} Best, Christian On Thu, Nov 15, 2012 at 1:11 PM, Oliver Wulff wrote: > Hi there > > I've defined a camel route which imports data from a csv file into a > table. Before that, the content of the db tabl

delete records of db table before importing from csv

2012-11-15 Thread Oliver Wulff
Hi there I've defined a camel route which imports data from a csv file into a table. Before that, the content of the db table must be deleted. The import works fine but I don't know how to add step to delete the content of the table "USER".