Multiple DB inserts due to org.apache.camel.impl.DefaultMessage cannot be cast to org.apache.camel.component.jms.JmsMessage exception while using local JMS transaction

2014-05-14 Thread Shiv
Hi, I am using Camel 2.2.0 (pretty old version but present in a legacy application) and my route reads data from a JMS queue and persists in DB using JDBC component. I am getting below error in log: 2014-05-09 15:12:16,416 | ERROR | Caused by: [org.apache.camel.RuntimeCamelException - java.lang.Cl

RE: FTP endpoint on error

2014-05-14 Thread blacar
Hi Ravi, Thanks for reply. At the moment i think i have it solved. onException(Exception.class).id("movexToServiceRouteOnException").log(ERROR, "${exception.stacktrace}").handled(true).to(getDiscardFtpEndPoint()); I declared a onException route that logs the stack tra

How to catch a DirectConsumerNotAvailableException?

2014-05-14 Thread Sven Bauhan
Hi, I have a route with a direct endpoint going to a socket connection. It can be the the program on the other side of the connection crashes and the connection is shut down. My messages in the route cannot be delivered any more. This happens especially from the aggregator in the route. In

Re: camel - osgi

2014-05-14 Thread cemmersb
Hi I try to put some words together answering your question. - Christoph On 13 May 2014, at 23:25, nono wrote: > Hi i am not very clear about the relation between camel and osgi > could someone explain in short words > what is the relation between camel and osgi? Camel is built to run within

EventNotifierSupport in all contexts

2014-05-14 Thread Ramiro Pugh
Hi, I'm trying to develop an auditor for every context that exist in Jboss Fuse. I read this post http://java.dzone.com/articles/measure-elapsed-time-cameland this is the best approach to my solution. But I wish to create one single bean and make posiible with one single bean intercept all the e

Re: camel - osgi

2014-05-14 Thread Grzegorz Grzybek
Hello! In short words: 1) Camel / OSGi OSGi is an architecture for packaging and running components called "bundles". It provides ways to make these bundles cooperate with each other using well defined semantics. The basic unit of modularization is (Java) "package". Of course beyond the basics,

Nagios apache camel component

2014-05-14 Thread Exequiel Wiedermann
Hi good afternoon. I would like a help to use nagios apache camel component. But I can not find an example. To being able to adapt to a personal project. From already thank you very much

Re: Restricting the duplicate files to be added into idempotent repository irrespective of cacheSize value

2014-05-14 Thread Joe Shevland
Its intriguing. I need more details. On 14/05/14 15:33, arvind wrote: I am trying to transfer the files from FTP to local directory .Currently the cache size value is 5000 . Yes I am seeing multiple entries of same file in the idempotent repository when the file entries crosses 5000. Is there

Re: longish uri on file endpoint

2014-05-14 Thread Claus Ibsen
Hi Yeah this has been on my mind for some time. I logged a ticket. https://issues.apache.org/jira/browse/CAMEL-7419 On Mon, May 5, 2014 at 1:31 PM, ayilliath wrote: > Hi, > > (I think this should be more of a spring/xml question.. ) > > I have a long file producer url that looks something like

Re: Apache Camel 2.13.1 released

2014-05-14 Thread Alexandros Koufoudakis
Hello. I just checked. It is alright for camel-jms and camel-stream, which was mentioned in the very beginning. I can also find both of them in http://search.maven.org. Is it back to normal? On Wed, May 14, 2014 at 5:19 PM, Willem Jiang wrote: > Hi Claus, > > I can see the camel-jms-2.13.1.jar f

Re: 2.13.1 jars in Maven central repo returning 404's

2014-05-14 Thread Claus Ibsen
Hi Yeah there is something weird going on. The JARs are in the listinging but some of them returns 404, for example camel-jms which is a key component :( Not sure if its something on maven central, or what else? On Wed, May 14, 2014 at 6:17 AM, Camel Guy wrote: > Components: > > mail > stream

Re: Apache Camel 2.13.1 released

2014-05-14 Thread Claus Ibsen
Hi Ah now it can be downloaded. I tried like one hour ago, but just wrote the email about it later. I guess it was some kind of temporary glitch. On Wed, May 14, 2014 at 5:19 PM, Willem Jiang wrote: > Hi Claus, > > I can see the camel-jms-2.13.1.jar from here[1]. > > [1]http://central.maven.org

Re: Apache Camel 2.13.1 released

2014-05-14 Thread Claus Ibsen
Hi For some weird reason we get 404 errors downloading Camel 2.13.1 from Maven Central. But only for some of the components, such as camel-jms. Willem do you have any idea what that could be? Or maybe its an interim problem and the maven central works later? On Tue, May 13, 2014 at 4:45 PM, Wi

OFTP2 component in camel

2014-05-14 Thread cgiera
Hello, I'm not able to find the OFTP2 component in an official camel release.(see http://camel.465427.n5.nabble.com/Camel-Component-for-the-OFTP2-protocol-td2848614.html#a2849338) Have I missed something or should i just add the (old) jar files from the website mentioned in the post above? kind

camel - osgi

2014-05-14 Thread nono
Hi i am not very clear about the relation between camel and osgi could someone explain in short words what is the relation between camel and osgi? what is relation between camel and spring? what are the differences betwen those two relations? Thanks in advance -- View this message in context:

Re: CAMEL :CFX : WEBSERVICE : ROUTING .....need Help

2014-05-14 Thread N.S.KARTHIK
Joe thx for the reply, >>I have to write a content based router on the hosting side ( not consumer client side ) the router in this case should be performing 2 tasks * 1) Expose as producer in form as WebService [ WSDL ] 2) Route the posted data from the webservices to DB based on the

Re: Camel Route Start-up Failure due to OSGi Dependency Resolution Error in JBoss Fuse ESB 6.0

2014-05-14 Thread Claus Ibsen
Hi Please use the JBoss Fuse user forum for question on that product You can find a link to that at http://www.jboss.org/products/fuse On Wed, May 14, 2014 at 7:58 AM, Shiv wrote: > I am facing an issue in deploying my OSGi bundle in JBoss Fuse ESB 6.0. It > has commons-lang and commons-collec

Camel CXFrs server mapper.setSerializationInclusion(Inclusion.NON_NULL) in spring file

2014-05-14 Thread vrahul
Hi following is my cxfrs server configuration I need to configure Inclusion.NON_NULL here so that it can exclude the null fields from the generated gson string. Any idea how i can achieve this. -- View this message in context: http://camel.465427.n5.nabble

Re: activemq exception

2014-05-14 Thread Reji Mathews
Activemq web console feature only enables the web ui part. But this Jboss Fuse has an active mq instance which starts by default. On 13/05/2014 10:14 am, "Jeremy Gooch" wrote: > I saw something similar - as per my post on Stack Overflow: > > http://stackoverflow.com/questions/19365009/activemq-re

Re: Restricting the duplicate files to be added into idempotent repository irrespective of cacheSize value

2014-05-14 Thread arvind
I am trying to transfer the files from FTP to local directory .Currently the cache size value is 5000 . Yes I am seeing multiple entries of same file in the idempotent repository when the file entries crosses 5000. Is there any way that we can restrict to move the same file which is already being

2.13.1 jars in Maven central repo returning 404's

2014-05-14 Thread Camel Guy
mail stream e.g., wget http://repo.maven.apache.org/maven2/org/apache/camel/camel-stream/2.13.1/camel-stream-2.13.1.jar --2014-05-13 14:56:55-- http://repo.maven.apache.org/maven2/org/apache/camel/camel-stream/2.13.1/camel-stream-2.13.1.jar Resolving repo.maven.apache.org... 199.27.77.129, 199.

mail.pop3.xxx property issue

2014-05-14 Thread barthorre
Hi Camel Users, I recently expierenced a networktimeout in JavaMail when using camel-mail 2.10.3. I realize this is an outdated version, so maybe this isn't an issue anymore. Anyway, I was wondering if mail.pop3.connectiontimeout en mail.pop3.timeout are correctly set when using the pop3s scheme

RE: Apache Camel 2.13.1 released

2014-05-14 Thread Siano, Stephan
Hi Willem, I don't want to be too picky about this, but isn't this a patch release (not a major release)? Best regards Stephan -Original Message- From: Willem Jiang [mailto:willem.ji...@gmail.com] Sent: Mittwoch, 14. Mai 2014 04:28 To: users@camel.apache.org; d...@camel.apache.org Subj

Camel Route Start-up Failure due to OSGi Dependency Resolution Error in JBoss Fuse ESB 6.0

2014-05-14 Thread Shiv
I am facing an issue in deploying my OSGi bundle in JBoss Fuse ESB 6.0. It has commons-lang and commons-collections dependencies and it is not able to resolve them in run time which is causing my route's failure. 15:00:02,081 | WARN | edhat-024/deploy | fileinstall | 7 - org.

Re: Camel/ActiveMQ/JmsProducer hung

2014-05-14 Thread Richard Yee
Doyle, Aaron R writes: > > Nevermind, I figured this out. I didn't have enough sessions in the pool. I increased the > maximumActiveSessionsPerConnection property and it is now working properly. > > > > I have a camel route consuming from an ActiveM

RE: File rotation

2014-05-14 Thread mossro
The processor option might work quite well, thanks -- View this message in context: http://camel.465427.n5.nabble.com/File-rotation-tp5751026p5751070.html Sent from the Camel - Users mailing list archive at Nabble.com.