Re: Problem with Camel Jpa Component and Container Managed Transaction

2012-06-21 Thread Sriraman Gopalan
Hi Claus, Thanks for the quick reply. Please find below the complete log from the point the consumer poll is started till it is completed: 2012-06-22 12:11:20,178 | TRACE | .CustomerAccount | ScheduledPollConsumer | 84 - org.apache.camel.camel-core - 2.9.2 | Scheduled task started on

Re: Camel OSGi services component

2012-06-21 Thread Guillaume Nodet
On Fri, Jun 22, 2012 at 6:33 AM, Sergey Zhemzhitsky wrote: > Hello, guys, > > I agree that if the camel-core could be enhanced to achieve easy cross-context > communication in the single JVM it would be fine. Claus committed the direct-vm component recently which is part of 2.10: http://camel.

Re: Camel OSGi services component

2012-06-21 Thread Sergey Zhemzhitsky
Hello, guys, I agree that if the camel-core could be enhanced to achieve easy cross-context communication in the single JVM it would be fine. In that case I would not tire the core to OSGi anyhow to be really environment-independent. I suppose that camel context could be published into the JNDI

Re: Got a NoTypeConversionAvailableException even with the same class

2012-06-21 Thread Bruno Borges
Just for the sake of Google, this is (as I thought), a JBoss issue. https://issues.jboss.org/browse/AS7-1769 Thanks *Bruno Borges* (21) 7672-7099 *www.brunoborges.com* On Thu, Jun 21, 2012 at 6:28 PM, Bruno Borges wrote: > Got a NoTypeConversionAvailableException even when getting a MyUser o

Re: Stopping long redelivery on Camel shutdown

2012-06-21 Thread CraigLaSalle
Excellent. I'll try it out. Thank you! -- View this message in context: http://camel.465427.n5.nabble.com/Stopping-long-redelivery-on-Camel-shutdown-tp5714773p5714886.html Sent from the Camel - Users mailing list archive at Nabble.com.

Fetching metadata from Camel JDBC Component

2012-06-21 Thread valivets
Hi all.. I am using camel jdbc component to run a query and get a resultset. I need the column names in a separate list. Currently I am fetching the column names manually from the list of maps returned. Is there a better way to do this? Is there a way to get the metadata separately? -- View this

Re: camel xslt 2.0 support

2012-06-21 Thread weather99
Despite installing servicemix-saxon, and following the instructions on this and other threads, I still cannot get xslt 2.0 to work in Servicemix 4.4.1 or 4.4.2. The converted message shows up with only the prolog , which indicates an xslt 1.0 conversion was done. I'm using this as part of my rout

Re: Need a example for Camel Bindy

2012-06-21 Thread arep...@hotmail.com
Thanks Christian for the references. -- View this message in context: http://camel.465427.n5.nabble.com/Need-a-example-for-Camel-Bindy-tp5714791p5714873.html Sent from the Camel - Users mailing list archive at Nabble.com.

Can't find xsd schema under camel-spring JAR

2012-06-21 Thread Bruno Borges
I'm trying to load a Spring/Camel context on JBoss 7.1.1, but using a module to have all JARs defined in one place (like a shared library). So I've put everything my project needs under $jboss.home/modules/com/mycompany/main/ What is happening is that, to have Spring to work, I had to add a jboss

Re: Does Camel Bindy supports text files

2012-06-21 Thread Charles Moulliard
@CsvRecord works for both .txt and .csv files ? YES YES YES On Thu, Jun 21, 2012 at 6:53 PM, arep...@hotmail.com wrote: > Thanks Charles. In the sample code below, it says @CsvRecord, but in my > case > I need to process a text file (.txt). So @CsvRecord works for both .txt and > .csv files ? > >

AMQ_SCHEDULED_DELAY problem with camel

2012-06-21 Thread mzehr
Let me start by saying I know schedulerSupport=true needs to be set in activemq.xml. I am trying to get the delay router sample posted by G Tully working with an external instance of activemq (as opposed to an embedded broker). I have a test case that demonstrate AMQ_SCHEDULED_DELAY/schedulerSupp

Re: Does Camel Bindy supports text files

2012-06-21 Thread arep...@hotmail.com
Yes, even I did some research on beanIO and thought it is a good option for flat file processing. It is good to know that comes with camel. -- View this message in context: http://camel.465427.n5.nabble.com/Does-Camel-Bindy-supports-text-files-tp5714792p5714869.html Sent from the Camel - Users

Re: Does Camel Bindy supports text files

2012-06-21 Thread arep...@hotmail.com
Thanks Charles. In the sample code below, it says @CsvRecord, but in my case I need to process a text file (.txt). So @CsvRecord works for both .txt and .csv files ? -- View this message in context: http://camel.465427.n5.nabble.com/Does-Camel-Bindy-supports-text-files-tp5714792p5714867.html Sent

Re: JBoss 7.1.1 with Camel and JMXAgent

2012-06-21 Thread Bruno Borges
Trust me, it's the same JBoss all-files-and-folders-and-configurations (jboss-as-7.1.1-Final) ziped and copied from one machine to the other one. *Bruno Borges* (21) 7672-7099 *www.brunoborges.com* On Thu, Jun 21, 2012 at 12:41 PM, Babak Vahdat wrote: > No I don't think that it has something to

Re: JBoss 7.1.1 with Camel and JMXAgent

2012-06-21 Thread Babak Vahdat
No I don't think that it has something to do with network interfaces and whatnot. The exception is thrown by JBoss intentionally, by the release 7.1.0.CR1b it's here: http://grepcode.com/file/repo1.maven.org/maven2/org.jboss.as/jboss-as-naming/7.1.0.CR1b/org/jboss/as/naming/WritableServiceBasedNam

Re: JBoss 7.1.1 with Camel and JMXAgent

2012-06-21 Thread Bruno Borges
What I find most interesting is that it runs fine on my Windows Vista 32bit. But when I run the same code and JBoss instance on a Windows 7 64bit, this problem occurs. Do you think this is something related to network interfaces or something else? I double checked Windows firewall and it is disab

Re: JBoss 7.1.1 with Camel and JMXAgent

2012-06-21 Thread Babak Vahdat
Hi I would recommend you to take a look at: https://community.jboss.org/message/644991 https://issues.jboss.org/browse/AS7-2755 As per se it's a JBoss issue/behaviour and not Camel. And I didn't face this problem while using JBoss 5.1. And usePlatformMBeanServer flag defaults to true so you can

JBoss 7.1.1 with Camel and JMXAgent

2012-06-21 Thread Bruno Borges
Hi everyone, I'm trying to start a Camel Context with a jmxAgent defined, and this is what I get in the server.log. Has anyone here faced this problem before? This is the agent configuration: 11:24:18,804 INFO [org.apache.camel.spring.SpringCamelContext] (MSC service thread 1-1) Apache

Re: Problem with Camel Jpa Component and Container Managed Transaction

2012-06-21 Thread Claus Ibsen
Hi Can you post the real stacktrace? Usually the have line numbers and whatnot. Also mention the Camel and Karaf version you use. On Thu, Jun 21, 2012 at 9:35 AM, Sriraman Gopalan wrote: > Dear All, > > I have a camel route that polls the database (using a jpa consumer) as shown > below: > > C

Re: Split: how to include parents in XML and prevent original message?

2012-06-21 Thread Claus Ibsen
On Thu, Jun 21, 2012 at 1:28 PM, PJ Walstroem wrote: > hello helpful forum, > > I have the following XML > >   >      data 1... >   >   >      data 2... >   > > > and the following setup > .split().tokenizeXML("y") > > I have a couple of questions > *1*) I would like to split this in

Re: Global Interceptor for all incoming Messages

2012-06-21 Thread wing-tung Leung
2012/6/21 sushil_vsk5 : > Unfortunately, the interceptFrom() only seems to intercept messages for > those routes which are defined in the same RouteBuilder class as the > interceptFrom() itself. Is there a way to intercept messages for all > incoming messages for all routes that the camel context h

Re: Global Interceptor for all incoming Messages

2012-06-21 Thread Claus Ibsen
On Thu, Jun 21, 2012 at 12:00 PM, sushil_vsk5 wrote: > Hello Claus, > Thanks a lot for the quick reply. I can very well do that in case I am the > one who is writing all the Routes. But that is not the case. Actually, > people who will be writing the routes can belong to different teams and I > re

Split: how to include parents in XML and prevent original message?

2012-06-21 Thread PJ Walstroem
hello helpful forum, I have the following XML data 1... data 2... and the following setup .split().tokenizeXML("y") I have a couple of questions *1*) I would like to split this into two messages: data 1... and data 2...

Re: Global Interceptor for all incoming Messages

2012-06-21 Thread James Carman
H. Cross-cutting concerns. Sounds like a job for AspectJ? On Thu, Jun 21, 2012 at 6:00 AM, sushil_vsk5 wrote: > Hello Claus, > Thanks a lot for the quick reply. I can very well do that in case I am the > one who is writing all the Routes. But that is not the case. Actually, > people who wil

Re: Global Interceptor for all incoming Messages

2012-06-21 Thread sushil_vsk5
Hello Claus, Thanks a lot for the quick reply. I can very well do that in case I am the one who is writing all the Routes. But that is not the case. Actually, people who will be writing the routes can belong to different teams and I really do not have much control over what they are putting into th

Re: Global Interceptor for all incoming Messages

2012-06-21 Thread Claus Ibsen
On Thu, Jun 21, 2012 at 10:47 AM, sushil_vsk5 wrote: > Hello, > I want to know how to add a Global 'interceptFrom()' like construct for all > routes in a Camel Context. I have say 4 - 5 independent Route Builders > defined using the  Java DSL which I am adding to a Camel Context defined in > Sprin

Global Interceptor for all incoming Messages

2012-06-21 Thread sushil_vsk5
Hello, I want to know how to add a Global 'interceptFrom()' like construct for all routes in a Camel Context. I have say 4 - 5 independent Route Builders defined using the Java DSL which I am adding to a Camel Context defined in Spring through the declaration. Now I want to include a single int

Web Service Provider with Camel - best practises?

2012-06-21 Thread Gerald Preissler
Hi all, I am looking at implementing a Web Service provider with several service operations using Camel and CXF. Currently I'm thinking about the best way to do this. Basically I see 2 options: 1. The "pure Camel" way would be to use the cxf component as the start of a route and then split pro

Re: Memory Leak

2012-06-21 Thread Filippo Balicchia
Did you try http://www.atomikos.com or aries transaction ? --Filippo 2012/6/21 Jason Queen : > Christian, > > Yes I will try setting it with Spring's > org.springframework.jms.connection.JmsTransactionManager and the flag on the > routes.  We have only used WMQ up until recent, so im new to using