Re: bean binding regression bug

2016-06-06 Thread yogu13
it was changed as part of CAMEL-9656, you can comment on the JIRA and check the response. -- View this message in context: http://camel.465427.n5.nabble.com/bean-binding-regression-bug-tp5783228p5783528.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Updating datasource at runtime with camel-sql

2016-06-06 Thread yogu13
you can think of wrapping your datasource which would contain the toggle logic based on your conditions and delegate the call to actual datasource. the SQL component would get an instance of your datasource. Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/U

Re: CSV TO XML converter not replacing ASCII NULL character

2016-06-06 Thread yogu13
ASCII Null and Java null are 2 different things and hence valid xml isnt getting produced. I would suggest 1. either replace the ASCII null to "" (empty or null) and get it transformed 2. manually transform. Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.co

Re: org.apache.camel.NoTypeConversionAvailableException while using WireTap

2016-06-06 Thread yogu13
by any chance your body of the exchange is null ? Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/org-apache-camel-NoTypeConversionAvailableException-while-using-WireTap-tp5783486p5783525.html Sent from the Camel - Users mailing list archive at Nabble.com.

Onexception and try catch block in camel.

2016-06-06 Thread ravi21588
Hi All, Onexception clause and try catch block both can be specified in with in a camel route. Can you please let me know the difference and advantage of using one upon other. -- View this message in context: http://camel.465427.n5.nabble.com/Onexception-and-try-catch-block-in-camel-tp5783511.h

Re: RXCamel is not releasing the ActiveMQ connection once the subscription is complete

2016-06-06 Thread arunkabraham
I have used WMQ with JMSComponent and JMSConsumer threads are live after onComplete and unsubscribe. Can you please help on this? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-rx-is-not-releasing-the-ActiveMQ-connection-once-the-subscription-is-complete-tp5781482p578

Re: RXCamel is not releasing the ActiveMQ connection once the subscription is complete

2016-06-06 Thread arunkabraham
I have used WMQ with JMSComponent and JMSConsumer threads are still live after onComplete() and unsubscribe(). Can you please help on this? If the way I am setting RxCamel on the queue is not correct, please suggest the right approach. I was following the example on RxCamel page. -- View thi

OnException and enrich - fail

2016-06-06 Thread Costash
Hi, i have a case where the enrichment it's not called, anyone knows why? (http4 lib) The case: the route do a WS call to obtain a token, and after do another ws call and sending that token to obtain more data. if the second WS call fails with code 401, i want to do one more call to WS1 (to get

CSV TO XML converter not replacing ASCII NULL character

2016-06-06 Thread deepaktaker
Hi, I have a csv file where empty fields are represented by ASCII NULL character. In linux ASCII NULL apperas as ^@. my problem is that after conversion xml produced is not valid. when i validate my xml against a schema it fails saying " An invalid XML character (Unicode: 0x0) was found in the

RE: Updating datasource at runtime with camel-sql

2016-06-06 Thread kamesh.sampath
Please have a look at components like PAX-JDBC[1] that helps in dynamic registrations of datasources with camel-blueprint. It also helps you in editing the same during runtime as well. I have a put a small sample of using it with camel and mybatis here[2] [1] https://ops4j1.jira.com/wiki/dis

RE: Updating datasource at runtime with camel-sql

2016-06-06 Thread Atsushi Matsumoto
Thank you for your quick reply. I will check camel-scr and camel-blueprint and get back to you soon. I am looking forward to your future support as well. > -Original Message- > From: Quinn Stevenson [mailto:qu...@pronoia-solutions.com] > Sent: Friday, June 03, 2016 12:12 AM > To: users@cam

Re: Last minute notice: Camel wedinar and Conference regitration

2016-06-06 Thread Bilgin Ibryam
Yes, it will be recorded and available later too. On 6 June 2016 at 17:54, John D. Ament wrote: > Hi Bilgin, > > Typos aside, do you know if tomorrow's wedinar is going to be recorded? I > have a conflict at that time, but would be highly interested in watching > afterwards. > > John > > On Mon,

Re: bean binding regression bug

2016-06-06 Thread Minh Tran
Should I raise a jira? Thanks. > On 30 May 2016, at 9:40 AM, Minh Tran wrote: > > Hi > > I’m seeing an unusual problem with bean binding when I upgraded from 2.17.0 > to 2.17.1. > > I’ve simplified it to the following example > > public interface IBar { > Object load(); > } > > publi

Re: SWAGGER same service into different war file!

2016-06-06 Thread Sergey Beryozkin
It is a Swagger issue, we've had a similar issue opened in CXF Sergey On 06/06/16 10:54, fabryprog wrote: Hello, In my tomcat7 context i have same war project within camel. From version 2.16.3 i wanted to add swagger api into my projects. But there are any mistakes. All swagger JSON files ar

double log entries from Tracer

2016-06-06 Thread Evguenia Krylova
I see double entries in the log from the Tracer but can’t figure out why. [INFO ] org.springframework.context.support.ClassPathXmlApplicationContext - 0 [main] - Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@3419866c: startup date [Mon Jun 06 15:26:12 CDT 2016];

Re: Last minute notice: Camel wedinar and Conference regitration

2016-06-06 Thread John D. Ament
Hi Bilgin, Typos aside, do you know if tomorrow's wedinar is going to be recorded? I have a conflict at that time, but would be highly interested in watching afterwards. John On Mon, Jun 6, 2016 at 11:13 AM Bilgin Ibryam wrote: > You can see how excited I'm from the double typo in the subject

Re: Loop in Routers

2016-06-06 Thread imranrazakhan
i m not facing any problem, its design questions any better alternative? -- View this message in context: http://camel.465427.n5.nabble.com/Loop-in-Routers-tp5783506p5783508.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Loop in Routers

2016-06-06 Thread Brad Johnson
Is there a problem with it? On Mon, Jun 6, 2016 at 11:48 AM, imranrazakhan wrote: > Hi, > > I am using Camel Loop in router like below, please suggest any improvement > > from("direct:terminateEvents") > .to("sql:select event_id from events where id = 32611 and status != 777") > .setProperty("to

Loop in Routers

2016-06-06 Thread imranrazakhan
Hi, I am using Camel Loop in router like below, please suggest any improvement from("direct:terminateEvents") .to("sql:select event_id from events where id = 32611 and status != 777") .setProperty("totalEvents", simple("${body.size}") ) .setProperty("counter", simple("0") ) .loopDoWhile(simple("$

Re: org.apache.camel.NoTypeConversionAvailableException while using WireTap

2016-06-06 Thread ranjitkumarm
Hi Yogesh, Yes it has a method with an argument of type Exchange. The method is annotated by the camel handler annotation. Regards, Ranjit On Tuesday 7 June 2016, yogu13 [via Camel] < ml-node+s465427n5783497...@n5.nabble.com> wrote: > Hi, > > I am suspecting the LoggerService bean has a

Re: Problem transfer from SMB to FTP OutMemory Java Heap Space

2016-06-06 Thread Brad Johnson
Obviously I'm operating in the blind here as I can't see the logs or operations or code. If you have Hawtio running you can log into the console and see the memory space as your application is running and get better detail as to what is happening. You have a maximum memory of 512MB and are hittin

Re: Last minute notice: Camel wedinar and Conference regitration

2016-06-06 Thread Bilgin Ibryam
You can see how excited I'm from the double typo in the subject :) On 6 June 2016 at 16:06, Bilgin Ibryam wrote: > Hi Camel riders, > > Nowadas most of the announcements go over twitter, but I wanted to > give a heads up about two interesting Camel events that users here > might find useful. > >

Last minute notice: Camel wedinar and Conference regitration

2016-06-06 Thread Bilgin Ibryam
Hi Camel riders, Nowadas most of the announcements go over twitter, but I wanted to give a heads up about two interesting Camel events that users here might find useful. 1. Tomorrow (7th of June) there is a webinar about Apache Camel [1]. I'll be presenting "Design patterns for successful Camel r

Re: How to stop a dynamic route

2016-06-06 Thread Brad Johnson
Personally I'd still be tempted to simply use the flags on the endpoint input if possible and not worry about enabling or disabling the route but the control bus is the way to go, as Quinn pointed out, if you really want that fine a control. On Sun, Jun 5, 2016 at 12:07 PM, Daniel P22 wrote: >

Re: org.apache.camel.NoTypeConversionAvailableException while using WireTap

2016-06-06 Thread yogu13
Hi, I am suspecting the LoggerService bean has a method which takes in param, is it a User defined Object which is sent as a param to the method ? Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/org-apache-camel-NoTypeConversionAvailableException-while-usin

Re: Camel AMQ - SSL and XA

2016-06-06 Thread yogu13
Hi, doesn't look like there is one.. However if you do not have to set key and trust managers you can use the ActiveMQXAConnectionFactory factory itself, if you need to specify the key and trust managers see if you can extend the ActiveMQXAConnectionFactory and provide the necessary setting. BTW

xtokenize - Application hangs

2016-06-06 Thread Hubertus.Willuhn
Hi, i have a new problem :D I got 4 routes reading 4 different files (every route one file) via the "file:". The files are XMLs and got split with xtokenize like: from("file:...").split().xtokenize("//WI", "i").streaming().process().to("seda:..."); The problem is that my application hangs after

SWAGGER same service into different war file!

2016-06-06 Thread fabryprog
Hello, In my tomcat7 context i have same war project within camel. >From version 2.16.3 i wanted to add swagger api into my projects. But there are any mistakes. All swagger JSON files are the same!! Swagger Camel plugin merge ALL REST service also if are into different WAR!!! Is it a colossal

Re: Problem transfer from SMB to FTP OutMemory Java Heap Space

2016-06-06 Thread Daniel P22
I have the default configuration, of karaf.bat if "%JAVA_MIN_MEM%" == "" ( set JAVA_MIN_MEM=128M ) if "%JAVA_MAX_MEM%" == "" ( set JAVA_MAX_MEM=512M ) if "%JAVA_PERM_MEM%" == "" ( set JAVA_PERM_MEM=16M ) if "%JAVA_MAX_PERM_MEM%" == "" ( set JAVA_MAX_PERM_MEM=128M ) -- View this

Re: Failing to extract text with Camel PDF component

2016-06-06 Thread Claus Ibsen
Hi Yeah its a missing feature to be able to load a pdf document from the classpath. It currently requires you to create the PdfDocument instance yourself. You are welcome to log a JIRA ticket to improve this so we can load the resource from file/classpath etc. http://camel.apache.org/support.html

org.apache.camel.NoTypeConversionAvailableException while using WireTap

2016-06-06 Thread ranjitkumarm
Hello, I am encountering NoTypeConversionAvailableException while using WireTap in my routes. An excerpt from the route is as follows, .bean("requestUpdater", "setRequestToInProcessState") .wireTap("bean:loggerService") .newExchangeBody(constant("Some log message.")) .end() .enri

Re: Failing to extract text with Camel PDF component

2016-06-06 Thread François LIOT
Hi, I know my answer won't be an exact answer to your question, But this is a really acceptable workaround, Have a look to Camel-Tika component. https://github.com/wheijke/camel-tika Old stuff, but perfectly working Regards, Francois From: Luc Engelen S

Failing to extract text with Camel PDF component

2016-06-06 Thread Luc Engelen
Hi, I'm trying to extract text from PDF files using the Camel PDF component. Unfortunately, I'm running into a NullPointerException each time I send a PDF file to the component. I've set up a route in a Camel test that connects a direct component to a PDF component. When I send PDF files to the di