RE: From bind to bind

2013-05-10 Thread Diether
Did you also configure the DozerTypeConverterLoader in the camel context? !-- the registry will be scanned and 'mapper' below will be found and installed -- bean id=dozerConverterLoader class=org.apache.camel.converter.dozer.DozerTypeConverterLoader / bean id=mapper

Re: modifying endpoint

2013-05-10 Thread Madhukar
Hi. I am also facing the same problem. It is appending the entry REST API's context - /rest/clm/request to the TO address- http://172.20.33.207:7072/cache-service/rest/cacheservice/CLM/SESSION-CONTEXT/01/SN123456789/rest/clm/request and I am getting the a 404 response code. Any workarounds or

Re: camel producer ftp bug

2013-05-10 Thread Bengt Rodehav
I wonder if this is also due to the issue I found: https://issues.apache.org/jira/browse/CAMEL-6309 BTW, your logfile got lost. Perhaps you can inline parts of it in a mail. /Bengt 2013/5/9 Ioan Eugen Stan stan.ieu...@gmail.com Hello, I'm using camel-2.11.0 with camel ftp for a route and

Incorrect info in Camel Quartz component.

2013-05-10 Thread Daniel H
Hi, I noticed that at the location http://camel.apache.org/quartz.html, the following is stated: By default Quartz will look for a quartz.properties file in the root of the classpath. If you are using WAR deployments this means just drop the quartz.properties in WEB-INF/classes That doesn´t

Where to download camel 2.11.1 jars

2013-05-10 Thread preety somani
Hi, I want to use features of camel2.11.1 to set the soap version in camel spring ws for a soap end point. But not able to find the download for came 2.11.1 version. Thansk, Preety -- View this message in context:

Re: Where to download camel 2.11.1 jars

2013-05-10 Thread Christian Müller
Camel 2.11.1 isn't released until now. You can download the SNAPSHOT at https://repository.apache.org/content/repositories/snapshots/org/apache/camel/apache-camel/2.11.1-SNAPSHOT/ Best, Christian On Fri, May 10, 2013 at 9:23 AM, preety somani preety.som...@i-exceed.comwrote: Hi, I want to

JPA FAB fails to start

2013-05-10 Thread lmanchanda75
Hi, I am working on a simple JPA app on Jboss Fuse 6.0, which is using openJPA as a provider, attempts to connect to postgres. It installs, but when starting it fails with the following error. I am attaching the pom.xml, blueprint.xml and persistence.xml being used for the project. I see some

java.lang.NoClassDefFoundError: org/w3c/dom/Node

2013-05-10 Thread lmanchanda75
Hi, We are trying to use Smooks library, everything gets installed properly as a FAB and get the following Import-Package List, Import-Package = com.bea.xml.stream;resolution:=optional, com.sun.jdi;resolution:=optional, com.sun.jdi.connect;resolution:=optional,

Re: Where to download camel 2.11.1 jars

2013-05-10 Thread David Karlsen
AFAIK it is not released yet. Try the 2.11.1–SNAPSHOT version. Or one of the other snapshot versions. Den 10. mai 2013 09:39 skrev preety somani preety.som...@i-exceed.com følgende: Hi, I want to use features of camel2.11.1 to set the soap version in camel spring ws for a soap end point.

Proxy Settings not working on Jboss Fuse 6.0

2013-05-10 Thread lmanchanda75
Hi, I am working on Fuse on Windows 7, the default maven repository is under .m2/repository. Maven under Fuse IDE and from the command line also uses the same settings and repository. Both the IDE and command line tool works fine to get download the dependencies. I tried installing cbr from the

Re: JPA FAB fails to start

2013-05-10 Thread Claus Ibsen
Hi You should use the JBoss Fuse forums for your questions about that product https://community.jboss.org/en/jbossfuse On Fri, May 10, 2013 at 10:34 AM, lmanchanda75 lmanchand...@gmail.com wrote: Hi, I am working on a simple JPA app on Jboss Fuse 6.0, which is using openJPA as a provider,

Synchronous InOnly with new message

2013-05-10 Thread nikagra
Hello I'm looking for a way to implement synchronous InOnly with new message body (wich is empty in my case) My route makes some processing of some task and I want in some moments update status of this processing. Number of statuses is quite large. So I've decided to make updating synchronous to

Re: How to create a generic SOAP consumer?

2013-05-10 Thread Aki Yoshida
If you want to have the soap header part processed by CXF and let the payload (i.e,, the soap body content) generically to be propagated to the camel route, you should configure the cxf endpoint using the jaxws generic provider mode (i.e, use PAYLOAD mode with no wsdl nor serviceClass given). I

Re: Using % sign in spring route sql select fails

2013-05-10 Thread nprajeshgowda
Hi, i used the encoding, but still have some issue. Rather my problem is little different. Let me take you through. so that you would be able to suggest me.. We have camel routes defined as following, the ana is from(JmsQNames.GETUSER + comURI + getUserQueueProps)

Re: Incorrect info in Camel Quartz component.

2013-05-10 Thread Claus Ibsen
Hi Thanks for reporting. I am updating the docs. On Fri, May 10, 2013 at 9:37 AM, Daniel H pifod...@gmail.com wrote: Hi, I noticed that at the location http://camel.apache.org/quartz.html, the following is stated: By default Quartz will look for a quartz.properties file in the root of the

Point notation in @Header value

2013-05-10 Thread horyna
Hi, camel doesnot support point notation in @Header value? Example: public void someMethod(@Header(value=instance.classmemberattribute.attribute) String someValue) class instance { public SomeClass getClassmemberattribute() } class SomeClass { public getAttribute() } -- View this

Re: Point notation in @Header value

2013-05-10 Thread Claus Ibsen
No @Header is for referring to a header by its name You can use @Simple @OGNL @Groovy etc to do method calls. On Fri, May 10, 2013 at 3:03 PM, horyna phoffic...@centrum.cz wrote: Hi, camel doesnot support point notation in @Header value? Example: public void

Re: Issue with Camel-aws (SQS) and aws-java-sdk-1.4.3

2013-05-10 Thread Claus Ibsen
Hi I suggest to use the AWS version that Camel 2.10.4 uses. On Thu, May 9, 2013 at 3:05 PM, Shauna Harris sha...@kusala.net wrote: Hi there, I'm getting an odd error trying to use Amazon SQS with Camel: java.lang.NoSuchFieldError: timeOffset at

Re: using or operator in twitter keywords search

2013-05-10 Thread Claus Ibsen
Hi Thanks for sharing that link to this search page. I have added a note to the Camel twitter docs. On Thu, May 9, 2013 at 10:42 PM, Bruno Borges bruno.bor...@gmail.com wrote: Twitter has its own operators. Just use them in your keywords parameter:

Re: How to avoid sending message headers with mail component ?

2013-05-10 Thread Claus Ibsen
Hi Just implement a custom strategy and then register that in the registry, eg if spring then bean id=myCustomFilter class=... And then configure the endpoint or component to use your filter. ?headerFilterStrategy=#myCustomFilter On Wed, May 8, 2013 at 3:53 PM, AlanFoster a...@alanfoster.me

Re: camel producer ftp bug

2013-05-10 Thread Ioan Eugen Stan
Hello, I'm using plain FTP and I'm uploading into my home folder. You can check out the entire log here [1]. They might be related but not sure yet. I will have to investigate sometime late next week. Thanks, [1] https://paste.apache.org/9CHw On Fri, May 10, 2013 at 10:25 AM, Bengt Rodehav

Re: split an InputStream?

2013-05-10 Thread Claus Ibsen
Hi See the links on this page about splitting big XML files http://camel.apache.org/articles On Thu, May 9, 2013 at 11:01 AM, PJ Walstroem walst...@hotmail.com wrote: hello, is it possible to use a splitter on an InputStream? I receive a big XML-file via an

Setting Body in restlet route without to does not work

2013-05-10 Thread apatel
Below route does not return body, because route don't have any to url route id=testLanguageFile xmlns=http://camel.apache.org/schema/spring; trace=true from uri=restlet:/myRestfulService/1.0/operationA?restletMethod=get/ setBody groovyRestful test /groovy /setBody /route Below

Re: propagating multiple header entries from cxf to camel

2013-05-10 Thread Claus Ibsen
Hi Aki Yeah it should add those values as a List when if you add a 2nd value to the same key. We do the same in http based components See the appendHeaders method on

Re: Setting Body in restlet route without to does not work

2013-05-10 Thread Claus Ibsen
What version of Camel do you use? On Fri, May 10, 2013 at 4:08 PM, apatel apa...@asg.bellsouth.net wrote: Below route does not return body, because route don't have any to url route id=testLanguageFile xmlns=http://camel.apache.org/schema/spring; trace=true from

Re: Setting Body in restlet route without to does not work

2013-05-10 Thread Claus Ibsen
Hi Yeah its a little bug I have logged a ticket https://issues.apache.org/jira/browse/CAMEL-6349 On Fri, May 10, 2013 at 4:08 PM, apatel apa...@asg.bellsouth.net wrote: Below route does not return body, because route don't have any to url route id=testLanguageFile

Re: Synchronous InOnly with new message

2013-05-10 Thread Willem jiang
What you want to do with the initial message body? If you don't need that body object anymore , you can set it to be null. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com

Route with doTry calling service does not have exchange.in=exchange.out does not work

2013-05-10 Thread apatel
Apache Camel 2.11.0, 2.10.4 Below route does not return foo = route xmlns=http://camel.apache.org/schema/spring; trace=true from uri=servlet:///nimbus/testTryCatch/ setHeader headerName=foo constantbar/constant /setHeader doTry setHeader

Re: camel producer ftp bug

2013-05-10 Thread Bengt Rodehav
The bug I found was in camel-core and I think it affects ftp as well. Not sure if you have found the exact same bug (I hope so otherwise we have yet another bug). You could try the patch I attached to the JIRA and see if your problems go away. /Bengt 2013/5/10 Ioan Eugen Stan

Re: large war or several smaller wars

2013-05-10 Thread Bruno Borges
Not sure if this is really a Camel issue, is it? Could you please clarify the problem? *Bruno Borges* (11) 99564-9058 *www.brunoborges.com* On Fri, May 10, 2013 at 12:25 PM, anoordover anoordo...@live.nl wrote: What should we do if we use camel and activemq? 1. Should we create much small

Re: large war or several smaller wars

2013-05-10 Thread anoordover
Currently we create beans for interacting with activemq in each project. So a lot of poolConnectionFactories get created. This creates a lot of connections to activemq and we also must invest a lot to change this configuration. The pro to this aproach is that change can be implemented standalone

Re: large war or several smaller wars

2013-05-10 Thread Preben.Asmussen
Seems like it would be nice to have a connection pool at jvm or appserver leve so that you can reuse connections between wars, and have a centralized pool. I'm not sure if this is doable with activemq. -- View this message in context:

Re: large war or several smaller wars

2013-05-10 Thread anoordover
I was already looking into using JNDI for registering an AmqJNDIPooledConnectionFactory but I couldn't find out how to register this using an existing ActiveMQConnectionFactory (spring bean). Does anybody have an example? Preben.Asmussen wrote Seems like it would be nice to have a connection

Re: large war or several smaller wars

2013-05-10 Thread Preben.Asmussen
I guess it depends on your runtime environment and appserver. Here are some articles for tomcat http://pragmaticintegrator.wordpress.com/2011/01/17/combining-activemq-tomcat-and-mule-esb/ http://www.tomcatexpert.com/blog/2010/12/16/integrating-activemq-tomcat-using-local-jndi -- View this

Re: large war or several smaller wars

2013-05-10 Thread anoordover
Sorry. I didn't realize that the environment would make such a difference. We have jboss 5 as and activemq standalone running. Until now i couldn't find an easy way to register a pooledconnection in jndi inside jboss as i suppose i need to do. -- View this message in context:

CXF stop working after upgrade to 2.11

2013-05-10 Thread martin11
Hello, after upgrade Camel from 2.10.4 to 2.11.0 I got an exception: Caused by: java.lang.ClassNotFoundException: org.apache.cxf.common.util.PropertyUtils at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) ~[na:1.6.0_26] at

Question on CamelServlet's matchOnUriPrefix

2013-05-10 Thread kalyan
Hello, I'm using camel servlet as a proxy for a restful service. The following scenario seems to work fine: WAR1: from(/users?matchOnUriPrefix=true) .to(http://myserver:port/rest-context?bridgeEndpoint=true); The above logic works for http://localhost:8080/camel/rs/users/123;. It gets resolved

Re: Setting Body in restlet route without to does not work

2013-05-10 Thread apatel
Appreciated for your help! Same issue occurred in servlet route also. Below route doen't return body route id=testLanguageFile xmlns=http://camel.apache.org/schema/spring; trace=true from uri=servlet:/myServletService/1.0/operationA/ setBody groovyServlet test /groovy /setBody

Re: camel-jsch in sink mode for one time copy from a remote host using SCP

2013-05-10 Thread kzmeyao
Sorry for reviving an old thread, but is there an update on this? I would like to use this as well. Thanks! -- View this message in context: http://camel.465427.n5.nabble.com/camel-jsch-in-sink-mode-for-one-time-copy-from-a-remote-host-using-SCP-tp5680887p5732308.html Sent from the Camel -