Re: using xpath tokenize function inside camel

2009-08-06 Thread zoorg
Saxon 9.1 supports XPath 2.0. So it could be a good idea to add configuration to camel to select which implementation to use. But first I have to check that my diagnostic is right! Claus Ibsen-2 wrote: On Wed, Aug 5, 2009 at 3:58 PM, zoorgzo...@free.fr wrote: No I do not manage to make it

Re: Camel Spring Remoting throwing RuntimeException question

2009-08-06 Thread akuhtz
Hi Thanks for the reply. I think the test-case is slightly different than what my request was. If you change the EchoPojo to inject a dynamic proxy you will see the problem that I have (see code below). public class EchoPojo { @Produce(uri = direct:echo) //private ProducerTemplate

Re: Camel OSGI is not working in Eclipse RCP 3.5

2009-08-06 Thread otech
Thank you for your kindly advice. I am totally new to camel. I am actually using Camel 2.0M3. The problem still exists. Please point out anything wrong with my approach as following. 1. Include camel-core-2.0-M3.jar, camel-jms-2.0-M3.jar, camel-osgi-2.0-M3.jar and camel-spring-2.0-M3.jar into my

Re: Camel OSGI is not working in Eclipse RCP 3.5

2009-08-06 Thread Claus Ibsen
Hi Can you see in your log file at INFO level what Camel has to say about OSGi It should either say: LOG.info(camel-osgi.jar detected in classpath); Or that it cannot find OSGi LOG.info(camel-osgi.jar not detected in classpath); On Wed, Aug 5, 2009 at 10:04 PM,

Re: Camel OSGI is not working in Eclipse RCP 3.5

2009-08-06 Thread otech
I copied the wrong file in another project. I have edited the last post. Thanks Claus Ibsen-2 wrote: On Thu, Aug 6, 2009 at 3:28 PM, otechotech...@gmail.com wrote: Hi, I found this message in the log: 2009-08-06 08:54:31,225 INFO [org.apache.camel.spring.handler.CamelNamespaceHandler] -

Re: Camel OSGI is not working in Eclipse RCP 3.5

2009-08-06 Thread Willem Jiang
To be honest, I know nothing about how to use Eclipse RCP project to create a bundle. But here are some basic knowledges about the OSGi bundle. The bundle is like the usual jar, the only difference is it has sepecial META-INF/MANIFEST.MF file ,which contains the Import-Package: and

Re: Camel OSGI is not working in Eclipse RCP 3.5

2009-08-06 Thread Willem Jiang
I didn't find the camel-osgi-2.0-M3.jar in the MANIFEST.MF file. otech wrote: Hi, I found this message in the log: 2009-08-06 08:54:31,225 INFO [org.apache.camel.spring.handler.CamelNamespaceHandler] - camel-osgi.jar not detected in classpath I did include the camel-osgi-2.0-M3.jar into my

Type Converters in Camel 2.0

2009-08-06 Thread _Jens
Hi, What is the expected behavior in Camel 2.0 if no type converter is found for a conversion? According to the http://camel.apache.org/type-converter.html documentation starting with Camel 1.5 a NoTypeConversionAvailableException should be thrown. This seems not to be the case in Camel 2.0

Re: Camel OSGI is not working in Eclipse RCP 3.5

2009-08-06 Thread otech
Sorry, I have edited the previous post. The actual file is: Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Desktop Bundle-SymbolicName:desktop;singleton:=true Bundle-Version: 1.0.0 Bundle-Activator: desktop.Activator Bundle-Vendor: com Require-Bundle: org.eclipse.ui,

JMS dropping messages

2009-08-06 Thread michaelv
We have an application deployed in Weblogic and I have written a camel client (using 2.0-M3) that publishes JMS messages to a queue read by that application and then monitors a couple of queues for different types of output. So here are my issues: 1. One of the queues, at least, is showing a

cxfEndpoint / ServiceMix / Offline

2009-08-06 Thread DanSalt
Hi, I'm using Camel 1.6.1.0 inside Servicemix (packaged as Fuse 4.1.0.2), and for some reason my bundle won't start if I am NOT connected to the internet (or running on my company VPN, behind a firewall). When offline, it barfs that it doesn't understand cxf:cxfEndpoint, which is located in the

JMS Priority

2009-08-06 Thread Siegfried.Wirth
Hi Camel-Riders, with http://issues.apache.org/activemq/browse/CAMEL-1689 JMS priorities can be set using the header JMSPriority. It seems to me that this works only if a priority = 1 is definied. Is there any reason that priority 0 is reset to default priority? As far as I have found information

Re: Camel 2.0-M3 swalllowing exceptions?

2009-08-06 Thread Eric Bouer
I'm having a similar problem. I have a route that does some incorrect casting of body message. M2 Throws ClassCastException wile M3 silently abort the operation and drops the message. when I step inside the M3 code with the debugger I can see that it's doing some exception handling but shows

Re: bean binding with inheritance 2.0-M3 camel-http

2009-08-06 Thread jjb
Hi, Claus. I was hoping to get the latest SNAPSHOT with the HttpMessage.getResponse method implemented. I just updated from the SNAPSHOT repo and verified it's not there yet: stealth: wget --no-check-certificate

Re: bean binding with inheritance 2.0-M3 camel-http

2009-08-06 Thread jjb
FYI - The latest SNAPSHOT also doesn't contain the bean?method= fix either. Regards jjb wrote: Hi I have another question regarding how to obtain the body of the HTTP message. Before the latest SNAPSHOT (in 2.0-M2), I used to be able to do this: String body =

Re: CamelNamespaceHandler Exception

2009-08-06 Thread Willem Jiang
Hi, Which version of Camel are you using ? If you are using camel-1.x , you should try to use this namespace http://activemq.apache.org/camel/schema/spring Willem skadirov wrote: Hello, I am getting the exception below. I was wondering if someone had run into and what was the fix. Many

Re: Camel OSGI is not working in Eclipse RCP 3.5

2009-08-06 Thread Willem Jiang
Hi, Can you change this property in your MANIFEST.MF ? Bundle-ActivationPolicy: lazy Willem otech wrote: I have moved the osgi jar before camel-spring jar. But the problem still exits. Thank you for all the help. Logs: 2009-08-06 11:12:20,308 INFO

Re: bean binding with inheritance 2.0-M3 camel-http

2009-08-06 Thread Claus Ibsen
On Fri, Aug 7, 2009 at 2:40 AM, jjbjj_burf...@yahoo.com wrote: Hi I have another question regarding how to obtain the body of the HTTP message.  Before the latest SNAPSHOT (in 2.0-M2), I used to be able to do this: String body = (String)exchange.getIn().getBody((new String()).getClass());

Re: dynamic sql request

2009-08-06 Thread Claus Ibsen
On Thu, Aug 6, 2009 at 7:09 PM, abdesaelabba...@gmail.com wrote: Hi, i have diffficult to pass parameter from exchange content to SQL request : here my code : exchange content : Listes Liste  id123456/id /Liste Liste  id123456/id /Liste Listes from(jms:q_in)

Re: JMS Priority

2009-08-06 Thread Claus Ibsen
Hi Siegfried Thanks for spotting this. I have committed a fix so you can pass in 0 as value for JMSPriority as well. SVN log: http://svn.apache.org/viewvc?rev=801884view=rev On Thu, Aug 6, 2009 at 8:50 PM, Siegfried.Wirthsiegfried.wi...@capgemini-sdm.com wrote: Hi Camel-Riders, with

Re: cxfEndpoint / ServiceMix / Offline

2009-08-06 Thread Willem Jiang
Hi , Can you show me the namespace and the xsd url that you use ? It will help me to reproduce the error. Willem DanSalt wrote: Hi, I'm using Camel 1.6.1.0 inside Servicemix (packaged as Fuse 4.1.0.2), and for some reason my bundle won't start if I am NOT connected to the internet (or

Re: JMS dropping messages

2009-08-06 Thread Claus Ibsen
Hi Strange as we dont get this kind of reportings before. The JMS component have TRACE logging (verbose) but you can use it as it will log at onMessage START when the onMessage method is invoked by the spring JMS listener. This is the very first code that is executed in Camel. And maybe that can