Re: Camel 3.21 & groovy scripting - Class loading errors

2023-11-13 Thread John Taylor
Hi, I also use camel in karaf with groovy. Although it shows in the exports, groovy xml is not included in the groovy package from org.codehaus.groovy/groovy/3.0.8 but is in a different bundle so you have to add it. You can do that with install mvn:org.codehaus.groovy/groovy-xml/3.0.8 Or you can

Re: Using Camel, Blueprint (Aries), OSGI and Spring - Place holder issue

2021-09-16 Thread John Taylor
Hi, A single property-placeholder is only going to allow one backing persistent-id. You can instead create multiple property-placeholders with different ids, e.g. https://stackoverflow.com/questions/50354932/how-to-use-multiple-property-placeholder-in-jboss-fuse-blueprint Hope that helps. -John

Re: Blueprint RouteContext Error

2020-11-19 Thread John Taylor
Hi Joe, That error you see is that the blueprint xml file failed validation, and that is because import is not a valid element in the blueprint schema. Invalid content was found starting with element '{" http://www.osgi.org/xmlns/blueprint/v1.0.0":import}'. Indeed, importing other xml documents i

Re: Is GenericFileOperationFailedException handled differently than other exceptions?

2016-10-27 Thread John Taylor
Klaus Johansen writes: > Hi all, > > I have used a lot time configuring a deadLetterChannel errorHandler and a > custom PollingConsumerPollStrategy for our PollingConsumers (mostly sFTP > and FTPS). > > In combination with "throwExceptionOnConnectFailed=true" and > "consumer.bridgeErrorHandler=tr

Re: camel sql joined query with parameters won't run on sql server

2016-06-25 Thread John Taylor
Hi Ronny, I had the same kind of problem recently and it turned out to be something to do with the driver not correctly returning the number of parameters. I ended up needing to use the parametersCount option. It is described at http://camel.apache.org/sql-component.html Regards, -John Ronny A

Re: Camel ScheduledPollEndpoint class scheduler setup in SqlComponent

2016-06-04 Thread John Taylor
Hi. If that really is your xml it's because you're not escaping the &. You have to use & entity ref in the endpoint uri -John On Jun 3, 2016 2:12 AM, "qwertywx" wrote: hi, I have created an endpoint like: But when I do that, jvm throws: org.apache.camel.FailedToCreateConsumerException: Faile

Re: Using a specific bundle version (in Karaf in Blueprint/Camel context route.

2015-11-10 Thread John Taylor
rwoolf writes: > My blueprint xml file is my "bundle." I drop the blueprint xml file into > the deploy directory. I have two different blueprint xml files for the two > different contexts. So in this regard they are different bundles. But > they are not packaged as jar based bundles. I'm gue

Re: Handle first delivery failure differently then all following retries?

2014-10-30 Thread John Taylor
dunnlow writes: > I'm using Camel 2.10.3 and Spring 3.1 with XML route configuration. I have > a transacted route that is getting messages from several different sources > (and saving them to a database). When there is an exception writing to the > database I want to send an alert (a web servi