Re: inject OSGi service into Camel Route

2017-06-16 Thread Bart Horré
Hi, in the below code example you'll find a blueprint file containing a reference to the service which is then inserted in a camel route. This can of course also be done in Spring. I hope this is of any use to you. http://www.osgi.org/xmlns/blueprint/v1.0.0";>

Re: HTTP4 retrying with I/O exception in fuse 6.3

2017-06-14 Thread Bart Horré
Hi, I'm assuming 'sslContextParams' is a bean in the registry. Shouldn't your uri be "http4:abcd.abcd.com:443/aabb/aabbdd.svc/pox? sslContextParametersRef=#sslContextParams <http://abcd.abcd.com:443/aabb/aabbdd.svc/pox?sslContextParametersRef=sslContextParams>"

Re: Nested doTry-doCatch blocks

2017-06-14 Thread Bart Horré
tion.class) ... .choice() .when() .to("direct:a") .otherwise() .to("direct:b") .end() .stop() .end() .log(level.INFO, log, "Reaches point 2.") .end(); Bart Ho

Re: onException() Redelivery to parent route

2017-06-14 Thread Bart Horré
Hi, have a look at this article: http://camel.apache.org/how-do-i-retry-processing-a-message-from-a-certain-point-back-or-an-entire-route.html Bart Horré Anova r&d bvba On Tue, Jun 13, 2017 at 7:44 PM, sap wrote: > Hi. > > I have a route similar to below. > > from(&quo

Re: Camel FTP - FTP poll is not consuming any files from ftp server after a specific error

2015-02-10 Thread Bart Horré
you could try to add disconnect=true Bart Horré Anova r&d bvba On Fri, Feb 6, 2015 at 5:18 PM, lakshma wrote: > Camel FTP - FTP poll is not consuming any files from ftp server: > > Route sample - > from("ftp://xxx@/?"; > + "password=RAW(ftp.pass)"

Re: Reading emails from imap - How to scale?

2015-02-04 Thread Bart Horré
different messages in different threads. http://camel.apache.org/jms.html Bart Horré Anova r&d bvba On Tue, Feb 3, 2015 at 8:43 AM, Mezai 279 wrote: > I am using imaps in camel route to read emails from an inbox, it takes 7-8 > seconds for reading an email in the camel route. How can in

Re: camel-imap

2015-02-03 Thread Bart Horré
the key copyTo, allowing you to copy messages to folder names configured at runtime. Is that an option? Bart Horré Anova r&d bvba On Tue, Feb 3, 2015 at 3:02 PM, Mezai 279 wrote: > Thanks Bart Horre! > Here i want to change a particular attribute in the > > > copyT

Re: camel-imap

2015-02-03 Thread Bart Horré
Hi, you could use a recipient list to dynamically identify the endpoint. http://camel.apache.org/recipient-list.html Bart Horré Anova r&d bvba On Tue, Feb 3, 2015 at 10:39 AM, Mezai 279 wrote: > I m planning to write a route which will have to move messages from inbox > to four

Re: Apache Mina2 and HL7 listener

2014-02-17 Thread Bart
So there is no way to get connected to endpoint session using mina2 or somehow with camel? Maybe there is a way to get already created session for specific address and port? I'm really looking for such solution without interfering with camel source code - I've tried and failed... -- View this

Re: Apache Mina2 and HL7 listener

2014-02-14 Thread Bart
Yeah but this will work only if consumer will send something message to endpoint. I would like to have an option to get IOSession under connection and this would not work. -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Mina2-and-HL7-listener-tp5747265p5747312.html Sen

Re: Apache Mina2 and HL7 listener

2014-02-14 Thread Bart
Richard, If it will give me the current session then I think this will be enough for me however how can I achieve this. I don't see a straight way to get MINA_IOSESSSION from Mina2Endpoint - or am I missing something? -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Min

Re: Apache Mina2 and HL7 listener

2014-02-14 Thread Bart
Claus, I don't think I have such skills :) However I found that problem lies in that some libraries has been moved from org.apache.mina.common to org.apache.mina.core.service and MinaEndpoint (1 not 2) cannot find some libraries: import org.apache.mina.common.IoAcceptor; import org.apache.mina.comm

Re: Apache Mina2 and HL7 listener

2014-02-14 Thread Bart
Hi Claus, Indeed I had look on camel-mina2 API and it's different especially if you take Endpoint under consideration: 1. MinaEndpoint - http://camel.apache.org/maven/current/camel-mina/apidocs/org/apache/camel/component/mina/MinaEndpoint.html 2. Mina2Endpoint - http://camel.apache.org/maven/camel-

Apache Mina2 and HL7 listener

2014-02-13 Thread Bart
Hi, I have simple mina2 listener defined in spring bean: And I'm connecting to this listener using HAPI HL7 test panel few clients. I have also a web page that shows some statistics. I would like to show on this page if there is any client connected with listener. I though that since this is TCP

Re: Endpoint, Routes and client connection

2013-09-19 Thread Bart
I'm trying to go forward with this. I have a few doubts and questions: 1. Route like: from("hl7Listener").to("lookupService"); is only invoke when actually something is send by client to listener. Am I right? In this way I can slightly change that route to: from("hl7Listener").process(new

Re: Endpoint, Routes and client connection

2013-09-18 Thread Bart
Ok I described it badly I suppose. Maybe I'm making a bad approach. I'm looking for such a soulution: 1. Create a server that can receive/send messages. 2. Clients connects to that server and can send messages. 3. Because we have client-server situation the server should also be able to send messag

Re: Configurable LockType for JpaConsumer

2013-08-29 Thread Bart De Neuter
Hi Claus, I created a jira ticket and included a patch. -- View this message in context: http://camel.465427.n5.nabble.com/Configurable-LockType-for-JpaConsumer-tp5738192p5738206.html Sent from the Camel - Users mailing list archive at Nabble.com.

Configurable LockType for JpaConsumer

2013-08-28 Thread Bart De Neuter
OTENT causing some bugs in a backend system. Using pessimistic locking solves this but it looks like we can not configure the jpa component to use another LockType. Kind regards, Bart -- View this message in context: http://camel.465427.n5.nabble.com/Configurable-LockType-for-JpaConsumer-tp57

Re: Getting a Header property on a exception in the DSL

2013-08-19 Thread Bart Horré
th > strings. Please let me know your thoughts. > > Thank you, > > Abdiel > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Getting-a-Header-property-on-a-exception-in-the-DSL-tp5737551.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Bart Horré Anova r&d bvba

Re: Is it Camel Bug?

2013-07-26 Thread Bart Horré
Camel Framework or there is > a > bug in the utilities that Camel is using such as CXF, etc. > > I am worried if this will cause memory leaks in my project. > > Can the camel experts help me please? > > Thanks, > Syed. > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Is-it-Camel-Bug-tp5736288.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Bart Horré Anova r&d bvba

Re: conditional uri

2013-07-23 Thread Bart Horré
nal uri string? > > > For example, > > > I have > uri="direct:start" > > > for testing. > > > I want to have a single xml file for both and manage uri string > > > conditionally. > > > Thanks, > > > Boris > > > > > > > > > > > > -- > > > View this message in context: > > > http://camel.465427.n5.nabble.com/conditional-uri-tp5735724.html > > > Sent from the Camel - Users mailing list archive at Nabble.com. > > -- Bart Horré Anova r&d bvba

Re: FTP endpoint failure

2013-07-23 Thread Bart Horré
> > > -- > View this message in context: > http://camel.465427.n5.nabble.com/FTP-endpoint-failure-tp5736059.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Bart Horré Anova r&d bvba

Re: No consumers available for endpoint.

2012-12-04 Thread Bart Horré
Do you have a camel context file to start your routes? is route B started in there? To me it seems the configure method of route B is never called On Tue, Dec 4, 2012 at 11:24 AM, Bilgin Ibryam wrote: > Hi Vishal, > > routeB doesn't seem correct to me. At the end of the route, you are > callin