Context and RouteID as properties in From configuration

2018-02-20 Thread Leber, Thomas
Hi, we want to create from tags in XML with information from the RouteID and the Context name. I tried it in this way I know I can get the route ID in a simple statement in the route inflight but this does not work since this is evaluated during runtime and the from is a startup configuratio

AW: Camel JMS transferExchange=true Exception

2018-01-15 Thread Leber, Thomas
e.org/contributing On Mon, Jan 15, 2018 at 10:34 AM, Leber, Thomas wrote: > Hi, > > I'm sending in an onException clause the exchange to another camel route via > JMS. > In order to handle the error, the idea was to use transferExchange=true, > since the documentations stat

Camel JMS transferExchange=true Exception

2018-01-15 Thread Leber, Thomas
Hi, I'm sending in an onException clause the exchange to another camel route via JMS. In order to handle the error, the idea was to use transferExchange=true, since the documentations states the exchange exception is transferred as well. Unfortunately I get this error in the JMS listener: -

AW: File2 component: infinitely loop

2017-06-26 Thread Leber, Thomas
Hi, This sound like the normal desired behavior of camel. Camel cannot move/process the file correctly and makes a complete rollback. If you want to changes this behavior, then you need to add exception handling: http://camel.apache.org/error-handling-in-camel.html -Ursprüngliche Nachricht-

Access Karaf ENV variable from Camel Spring context

2017-06-26 Thread Leber, Thomas
Hi all, I have deployed a Spring Camel context on a stock Karaf container. I have set a env variable like this: JBossFuse:admin@devTL> env test null JBossFuse:admin@devTL> env test hi_all JBossFuse:admin@devTL> env test hi_all JBossFuse:admin@devTL> Now I want to access this variable via: Strin

AW: camel-test-blueprint includes camel-test, breaks java.nio.file.Files.probeContentType(source);

2017-06-08 Thread Leber, Thomas
amel-spring etc. > > You are welcome to contribute a fix via a github PR > > On Tue, Jun 6, 2017 at 11:52 AM, Leber, Thomas > wrote: >> Hi all, >> >> We are using blueprint and therefore we include camel-test-blueprint. This >> also includes Camel-core depen

camel-test-blueprint includes camel-test, breaks java.nio.file.Files.probeContentType(source);

2017-06-06 Thread Leber, Thomas
Hi all, We are using blueprint and therefore we include camel-test-blueprint. This also includes Camel-core dependencies with type "test-jar": https://github.com/apache/camel/blob/master/components/camel-test-blueprint/pom.xml org.apache.camel camel-core test-jar P

Routing Slip + InOutPattern + Transaction does not work

2017-03-02 Thread Leber, Thomas
Hi, I'm trying to use a Routing Slip with the InOut pattern. Also I have the requirement to transact the whole system. I have set up a small example but I won't run. The message stays inside the "producer" queue and will not be Picked up by the "_route1" or "_route2". When I'm commenting the l

RE: Apache Camel disable DTD validation or resolve to relativ Path

2017-02-21 Thread Leber, Thomas
/validator-component.adoc And you can find some unit tests that test this resolver On Tue, Feb 21, 2017 at 6:55 PM, Leber, Thomas wrote: > Hi, > > I'm using the camel validator component to validate an XML. The XML has a DTD > declaration inside. This points to a relative path, w

Apache Camel disable DTD validation or resolve to relativ Path

2017-02-21 Thread Leber, Thomas
Hi, I'm using the camel validator component to validate an XML. The XML has a DTD declaration inside. This points to a relative path, where I don't want to have the DTD. Is there any way to disable the DTD validation or resolve the declared DTD to a path where I want to have the DTD? I trie