Re: camel-hazelcast & Transactions

2013-02-08 Thread xanko
Hi Christian, Of course, I prepare the patch and submit it today if I can. Thomas -- View this message in context: http://camel.465427.n5.nabble.com/camel-hazelcast-Transactions-tp5726943p5727200.html Sent from the Camel - Users mailing list archive at Nabble.com.

VM Queues Disconnected after Karaf Bundle Update

2013-02-08 Thread SteveC
I have 2 camel routes, each deployed in separate bundles to Fuse ESB (7.0.0.fuse-061). Route 1 accepts text via HTTP and send it to a vm queue, e.g. Route 2 accepts input from the vm queue, e.g.. , and logs a msg. Each route is deployed in a Karaf feature and they function correctly on initial

RE: File transfer using ftp failed

2013-02-08 Thread AMARNATH, Balachandar
Thanks claus Ibsen, I am indeed using the 'Main' to start the camel. What's happening is that replacing component 'ftp://' with 'file:///' is working. When I use 'ftp://', it seems that endpoint from("ftp://...";) is not recognised. The route here is not executed and I don't see any movement o

Re: camel-hazelcast & Transactions

2013-02-08 Thread Thomas Vautrin
See Fix / Improvement & Patch https://issues.apache.org/jira/browse/CAMEL-6054 Regards, Thomas -- View this message in context: http://camel.465427.n5.nabble.com/camel-hazelcast-Transactions-tp5726943p5727212.html Sent from the Camel - Use

Re: Files cannot be moved on FTP

2013-02-08 Thread Christian Müller
We have a JIRA for this issue and it should already be fixed in Camel 2.10.4-SNAPSHOT, if I remember right. If not, feel free to reopen it... Sent from a mobile device Am 07.02.2013 15:59 schrieb "Christian Schäfer" : > Hi Filipp, > > thanks for testing..I just adapted your code to my use case an

Can (S)JMS be safely used on Java EE?

2013-02-08 Thread Harald Wellmann
It it safe to use SJMS or JMS in a Java EE 6 application? You are not supposed to start threads in Java EE, but (S)JMS uses thread pools for consumers. Is it guaranteed that features like resource or CDI injection, CDI scopes, JNDI lookup will work in these these threads just the same as in a cont

Re: Can (S)JMS be safely used on Java EE?

2013-02-08 Thread Romain Manni-Bucau
Hi, your statements are globally correct for spring that's different since you let spring manages it (with the same issues) *Romain Manni-Bucau* *Twitter: @rmannibucau * *Blog: **http://rmannibucau.wordpress.com/* *LinkedIn: **h

Re: camel 10.2.3 migration SSL error

2013-02-08 Thread gmdavidson62
Jetty version we are trying to use: 7.5.4.v20111024We pull in our jetty api from the following:*org.apache.camel camel-jetty 2.10.3 *so maven dependency looks like this:[INFO] +- org.apache.camel:camel-jetty:ja

Re: Can (S)JMS be safely used on Java EE?

2013-02-08 Thread Claus Ibsen
On Fri, Feb 8, 2013 at 2:03 PM, Harald Wellmann wrote: > It it safe to use SJMS or JMS in a Java EE 6 application? > Yes, a lot of users is using Spring JMS / Camel / And a zillion other frameworks in JEE servers such as WebLogic, WebSphere etc. And has no trouble at all. Though there is an API

Re: Exception in restful web service

2013-02-08 Thread Henryk Konsek
> FileInputStream fstream = new FileInputStream( > "D:\\Testing\\test.xml"); Apparently the XML you load from the file is broken. I highly recommend to use JAXB to return the response, instead of pumping the XML from the file :) . @G

Re: Can (S)JMS be safely used on Java EE?

2013-02-08 Thread Romain Manni-Bucau
jWorkManager or WorkManager? the last one is part of JavaEE but does not have contraints on injections AFAIK so it doesn't really helps IMO the best is to get resources from where you need (lookup, BeanProvider from deltaspike...) with a correct scope (not requestscoped for instance which has no

Issue using camel-cxf-transport (2.10)

2013-02-08 Thread Charles Moulliard
Hi, Itry to use camel-cxf-transport but get a "No consumers available on direct://supervisor". [msConsumer[supervisorworklist]] DirectProducer WARN No consumers available on endpoint: Endpoint[direct://supervisor] to process: Exchange[JmsMessage[JmsMessageID: ID:RedHat-MacBook.l

Re: Can (S)JMS be safely used on Java EE?

2013-02-08 Thread Claus Ibsen
On Fri, Feb 8, 2013 at 6:01 PM, Romain Manni-Bucau wrote: > jWorkManager or WorkManager? > > the last one is part of JavaEE but does not have contraints on injections > AFAIK so it doesn't really helps IMO > WorkMananger is for thread pools. Not for IoC / bean injections etc. So it DOES help, if

Re: Files cannot be moved on FTP

2013-02-08 Thread Christian Müller
We have a JIRA for this issue and it should already be fixed in Camel 2.10.4-SNAPSHOT, if I remember right. If not, feel free to reopen it... Sent from a mobile device Am 07.02.2013 15:59 schrieb "Christian Schäfer" : Hi Filipp, thanks for testing..I just adapted your code to my use case and kee

Re: JDBC connection for http hits to Oracle DB ...

2013-02-08 Thread Henryk Konsek
Hi Omar, > will we hit DB using new JDBC connection for every hit ? > or will we using the same JDBC template for all ? First of all your question is not related to Camel. From what you wrote, I understand that you are using Camel to expose Jetty endpoint. That implies that database connectivity

Re: VM Queues Disconnected after Karaf Bundle Update

2013-02-08 Thread Achim Nierbeck
Hi, The routes in your bundles are all managed by the camel-core bundle. Since you updated one of it the "old" reference still exists for the core bundle. So after updating a bundle containing routes you also need to refresh the core bundle. Another way to work around this, or better something th

Re: Can (S)JMS be safely used on Java EE?

2013-02-08 Thread Romain Manni-Bucau
Ok got your point byt not sure it matches completely the need Le 8 févr. 2013 18:04, "Claus Ibsen" a écrit : > On Fri, Feb 8, 2013 at 6:01 PM, Romain Manni-Bucau > wrote: > > jWorkManager or WorkManager? > > > > the last one is part of JavaEE but does not have contraints on injections > > AFAIK

Re: Can (S)JMS be safely used on Java EE?

2013-02-08 Thread Harald Wellmann
AFAIK, WorkManager is only meant to be used in resource adapter/JCA connector implementations. It should not be used by application code as an Executor substitute. the best is to get resources from where you need (lookup, BeanProvider from deltaspike...) with a correct scope (not requestscoped

Quartz triggers being deleted when shutting down Camel.

2013-02-08 Thread vishal1981
Hi, I am using Quartz as my starting endponig. I have defined the the route as follows, from("quartz://myTimer?trigger.repeatInterval=12&trigger.repeatCount=-1&stateful=true") .log("Test"); When Camel comes up I do see an entry being created in the database for the trigger an

Bug in bean-binding? Don't remove last quote

2013-02-08 Thread Gardella juan
Hi all, In the page http://camel.apache.org/bean-binding.html said: "In the example above, we invoke the echo method with two parameters. The first has the content 'World' (without quotes), and the 2nd has the value of 5." But I put in a route: .to("bean:handler?method=log('I1000')"); And in t

two instance of same apache camel application

2013-02-08 Thread Rim
Hi , I have two instance of apache camel application running on different ports (I have changed the JMX PORT for running two instances simultanously). and both the application pointing to the same Queue. After sending messages to the MQ only one instances is processing the request at a time . Ple

Re: Can (S)JMS be safely used on Java EE?

2013-02-08 Thread Romain Manni-Bucau
You can inject it through @Resource Le 8 févr. 2013 22:45, "Harald Wellmann" a écrit : > AFAIK, WorkManager is only meant to be used in resource adapter/JCA > connector implementations. It should not be used by application code as an > Executor substitute. > > the best is to get resources from w

Re: Can (S)JMS be safely used on Java EE?

2013-02-08 Thread Scott England-Sullivan
Hi Harald, As all have stated here Camel SJMS and/or JMS are not JEE compatible components in the strictest sense and are definitely not meant to be a drop in replacement for MDBs. They are simply JMS API clients for use with a JMS compatible broker which could be a JEE container or external brok

Re: Files cannot be moved on FTP

2013-02-08 Thread Filippo Balicchia
Hi all, probably I don't understand the problem but directive move in camel-ftp continues to works for me. I have make 3 test 2 in a real enviroment and 1 unit test. I use Ftp Url as indicated in the mail * Using class http://dl.dropbox.com/u/86667715/camelftp/ftpExample.java in real enviroment