Re: Strategy for deleting/moving files

2019-05-18 Thread bjoern . ohm
Hi, remove the errorHandler and just use onException. For example use this.onException(Throwable.class) .maximumRedeliveries(0) .to(ENDPOINT_DEAD_LETTER_CHANN) .stop(); instead of this.errorHandler(this.deadLetterChannel(ENDPOINT_DEAD_LETTER_CHANNEL)); Regards... Von:Alex Dettinger

Antwort: Re: JMS: reuse consumer when receiving timeouts

2019-01-24 Thread bjoern . ohm
Hi, perhaps these links could help: http://forum.spring.io/forum/spring-projects/integration/jms/114247-jms-dmlc-not-caching-connection-when-using-tx-despite-cachelevel-cache-consumer http://tmielke.blogspot.com/2012/03/camel-jms-with-transactions-lessons.html The JmsTransactionManager always cal

Antwort: Re: readLockLoggingLevel File Component

2018-11-29 Thread bjoern . ohm
Yes Zoran, sometimes I have a great enlightenment;) But even small things can slow down your work (if you wonder, why a file is not consumed, cause this is only logged at debug)... Björn Von:Claus Ibsen An: users@camel.apache.org Datum: 28.11.2018 18:29 Betreff:Re: readLo

readLockLoggingLevel File Component

2018-11-28 Thread bjoern . ohm
Hi, one little thing... I have noticed that in the javadocs, documentations,... for the the property readLockLoggingLevel in the File Component, respectively in the class FileChangedExclusiveReadLockStrategy the default is described as 'WARN'. But in the implementation it is 'DEBUG'. It could b

Antwort: RE: Antwort: CXF : setting maxChildElements on endpoint

2018-10-05 Thread bjoern . ohm
Hi, I think you are right. But perhaps you can use your own (second) bus for some CXF-Enpoints, with its own configuration file (http://camel.apache.org/cxf.html --> bus, http://cxf.apache.org/docs/configuration-of-the-bus.html). But I have no practical knowledge. Wish you success, perhaps s

Antwort: CXF : setting maxChildElements on endpoint

2018-10-04 Thread bjoern . ohm
Hi, perhaps you can use a configuration file (cxf.xml) like in http://cxf.apache.org/docs/bus-configuration.html. The entry: should work... Best regards Björn Von:"Duchaine, David" An: "users@camel.apache.org" Datum: 02.10.2018 16:

Antwort: Re: Re: Question for CamelSpringDelegatingTestContextLoader'/Java-Config

2018-07-31 Thread bjoern . ohm
Ok, I understand, although I think it is solved not very nice. But perhaps we rebuild our application/unit tests... Thank you, Von:Claus Ibsen An: users@camel.apache.org Datum: 31.07.2018 10:12 Betreff:Re: Re: Question for CamelSpringDelegatingTestContextLoader'/Java-Co

Antwort: Re: Question for CamelSpringDelegatingTestContextLoader'/Java-Config

2018-07-30 Thread bjoern . ohm
Hi, yes we use camel-spring-javaconfig. And the unit tests work with the use of CamelSpringDelegatingTestContextLoader. We just wonder why it is deprecated, because at the moment there is no other way to get the tests running (without xml). Only for xml-configuration there exists the class Cam

Question for CamelSpringDelegatingTestContextLoader'/Java-Config

2018-07-27 Thread bjoern . ohm
Hi everyone, we have updated to Camel 2.21.2. In our unit-tests we don't use xml-configuration, just java-configuration. We noticed, that the class 'CamelSpringDelegatingTestContextLoader' is marked as deprecated. But at the moment it is not possible for us to get our java-config-tests running