Re: org.apache.camel.FailedToCreateRouteException: Failed to create route with SNMP component

2015-06-23 Thread Stephan Burkard
The exception says that your "oids" parameter cannot be converted from String to OIDList because there is no converter available. Make sure you have the camel-snmp component in your class path. I guess the needed converter is in this component. org.apache.camel camel-snmp x.x.x

Re: Multiple CamelContext in separate bundles

2015-06-23 Thread Stephan Burkard
Hi The message "osgi.wiring.package=org.apache.camel.spring.interceptor" means that your bundle imports the package org.apache.camel.spring.interceptor but no bundle exports that package. Therefore the import cannot be resolved. Regards Stephan On Tue, Jun 16, 2015 at 2:02 PM, jamalissimo wro

Re: I don't understand CXF Endpoints.

2015-06-23 Thread Karel Bernolet
You might want to have a look at the Content Enricher EIP with a Polling Consumer (pollEnrich). On Tue, Jun 23, 2015 at 8:00 PM, desenfoque wrote: > Hi... > > I have this route, the endpoint is a cxf webservice (soap) > > from("cxf:bean:servicioRecepcionNotas") > .convertBodyTo(Entra

I don't understand CXF Endpoints.

2015-06-23 Thread desenfoque
Hi... I have this route, the endpoint is a cxf webservice (soap) from("cxf:bean:servicioRecepcionNotas") .convertBodyTo(Entrada.class) .process(new ProcessorTratarWS()) .to(WS_VALIDAR). .transform().method(WebServiceUtils.class,"respuesta(${property.estado})");

Re: Unmarshalling serialization fails with ClassNotFoundException

2015-06-23 Thread Claus Ibsen
Hi No its body only. And exchanging data using java objects is a bad design. You end up being too coupled with java classes and whatnot. On Tue, Jun 23, 2015 at 9:30 AM, Gustav Sinder wrote: > I forgot to mention that I run Camel from a OSGi container (as part of JBoss > Fuse). > Seems there

Re: waitForTaskToComplete & concurrentConsumers

2015-06-23 Thread jackkirsten
Thank you Andrew and Claus. I have resolved the issue by enabling the parallel processing in splitter and wait for task to complete flag in SEDA producer side. It works perfectly now with true multi-threading feature. -- View this message in context: http://camel.465427.n5.nabble.com/waitForT

RE: Difficulty in extracting data from CxfPayload

2015-06-23 Thread siddhesh
Guys, I got it working. Cheers. -- View this message in context: http://camel.465427.n5.nabble.com/Difficulty-in-extracting-data-from-CxfPayload-tp5768422p5768508.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: File2: readLock/ready file alternatives

2015-06-23 Thread Claus Ibsen
Hi Maybe try with longer timeout values. You can enable DEBUG/TRACE logging on org.apache.camel.component.file.strategy to see what it logs The code is https://github.com/apache/camel/blob/master/camel-core/src/main/java/org/apache/camel/component/file/strategy/FileChangedExclusiveReadLockStrate

RE: File2: readLock/ready file alternatives

2015-06-23 Thread jamesburn
Hi Thanks Claus for your prompt response! I did try readLock=changed first: but am still getting incomplete files delivered (mostly). I can see a zero byte .camelLock file written whilst the file is being collected. Can I monitor what is actually happening with readLock whilst it is working

Re: Camel 2.15.1 Aggregator: Using multiple to() endpoints

2015-06-23 Thread Claus Ibsen
Hi A bit hard to explain without having to write endless long emails. This is expected the aggregator uses a separate "leg" of the routing when it sends completed outgoing messages. eg its input and output legs are separated. On Tue, Jun 23, 2015 at 1:11 PM, Ravi Nallappan wrote: > Hi, > > I a

Re: File2: readLock/ready file alternatives

2015-06-23 Thread Claus Ibsen
Hi There is a readLock=change that check for file size / date modifications over a time window On Tue, Jun 23, 2015 at 2:25 PM, BURN, James wrote: > Hi > > I'm using Camel 2.13.2 on a Linux VM to collect/process files on a Windows > server. > > This is done with a Linux filemount onto a folder

File2: readLock/ready file alternatives

2015-06-23 Thread BURN, James
Hi I'm using Camel 2.13.2 on a Linux VM to collect/process files on a Windows server. This is done with a Linux filemount onto a folder on the Windows server. The issue we're getting is large (37Mb) files are often collected incomplete. I tried using the readLock, as per: however, this didn'

Re: camel-smpp

2015-06-23 Thread Ravi Nallappan
Hi, The error is not clear, can you share the smpp client route that caused this error? regards, Ravi Nallappan On Mon, Jun 15, 2015 at 4:14 PM, AlexNastin wrote: > > Hello. I'm new to CAMEL-SMPP. I'm working on a project that requires smpp > to > send and receive sms from an smsc, i'm making

Camel 2.15.1 Aggregator: Using multiple to() endpoints

2015-06-23 Thread Ravi Nallappan
Hi, I am trying to create modular routes that at the end stitched together by a main route. This strategy is working for most of my other routing except when I use aggregator. I have created a simple test case for this scenario: package com.ravi.test; import org.apache.camel.Exchange; import o

Re: Idea on using Camel replaceFromWith for real routes

2015-06-23 Thread Karel Bernolet
why don't you just add a second and/or third clause in your original route? On Tue, Jun 23, 2015 at 4:32 AM, Gnanaguru S wrote: > Howdy, > > AdviceWith is one of the great feature for unit testing camel routes. If > some of its capabilities are available for the actua

RE: Unmarshalling serialization fails with ClassNotFoundException

2015-06-23 Thread Gustav Sinder
I forgot to mention that I run Camel from a OSGi container (as part of JBoss Fuse). Seems there is a bug related to this for which a fix has been implemented already: https://issues.apache.org/jira/browse/CAMEL-4915 However, since adding dynamic imports to camel-core solves the issue it seems th

Idea on using Camel replaceFromWith for real routes

2015-06-23 Thread Gnanaguru S
Howdy, AdviceWith is one of the great feature for unit testing camel routes. If some of its capabilities are available for the actual routing, it will be a great value add. I have a route which has a JMS from and some subsequent to uris & processors. I want to build another

Re: Access inflight repository on shutdown?

2015-06-23 Thread udaykumarjonna
Hi , i have specific requirement as you were looking ,can u please paste the code which worked for you Thanks Uday -- View this message in context: http://camel.465427.n5.nabble.com/Access-inflight-repository-on-shutdown-tp5766297p5768492.html Sent from the Camel - Users mailing list a