Re: Error while deploying camel proxy in tomcat

2014-11-13 Thread Royamit
?xml version=1.0 encoding=UTF-8? beans xmlns=http://www.springframework.org/schema/beans; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:camel=http://camel.apache.org/schema/spring; xmlns:cxf=http://camel.apache.org/schema/cxf;

Re: Camel JMS consumer route start / stop issues

2014-11-13 Thread sushil_vsk5
Guys, any thoughts on this -- View this message in context: http://camel.465427.n5.nabble.com/Camel-JMS-consumer-route-start-stop-issues-tp5758893p5759030.html Sent from the Camel - Users mailing list archive at Nabble.com.

When clause not working with header element with namespace

2014-11-13 Thread miguelfdez
Hi! I'm following the Message Router pattern explained in https://camel.apache.org/message-router.html However, I'm having problems with conditions on headers with namespaces. The XML message I'm receiving is like this: SOAP-ENV:Envelope xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/;

Re: Camel JMS consumer route start / stop issues

2014-11-13 Thread Claus Ibsen
Try only use suspend/resume or stop/start and not mix and match them On Thu, Nov 13, 2014 at 10:16 AM, sushil_vsk5 sushil_v...@yahoo.co.in wrote: Guys, any thoughts on this -- View this message in context:

Re: Ack by the end of WS chain (client WS - [WS - Camel - client WS] - WS) *image inside

2014-11-13 Thread chainbuck
For reference: It looks like they call it: blinkspotlightmulticolorflashing* Camel CXF Proxy */multicolorflashing/spotlight/blink/spotlight You can use CXF to proxy a real web service. I found some related threads: http://camel.apache.org/cxf-proxy-example.html

New to Camel, adding smtp completion notification using XML DSL

2014-11-13 Thread fidoedidoe
Hi I'm new to camel (so forgive me for asking dumb question). Having worked a few examples and successfully created some test routes - I'd like to email recipient(s) on completion. Ultimately the intent would be to email success / failure...but taking baby steps, just an email at the end of

Re: camel xmljson add @ signs to the json output. how to remove the @ signs

2014-11-13 Thread salemi
Hi Claus, I am using Camel version 2.14.0. As far as xmljson goes I have used the follwoing parameter tor turn that off without a luck xmljson id=xmljson removeNamespacePrefixes=true skipNamespaces=true trimSpaces=true/ Do you know how turn off the @ sign for xml attributes? Thanks, Ali

.toUpperCase() doesn't work in the simple expression below.

2014-11-13 Thread rajivgup...@gmail.com
simple'{{mainframe.filename}}.$simple{$simple{file:onlyname.noext}.toUpperCase()}.$simple{date:now:'D'yyMMdd}.$simple{date:now:'T'HHmmsss}'/simple I need to send a upper cased file name to mainframe and the expression above throws the following error. Is there a work around for this issue ?

XPATH woes

2014-11-13 Thread Gershaw, Geoffrey A.
Hi All, I'm trying to filter via xpath using the spring config. I'm running camel 2.12.3. An example msg Envelope xmlns=http://removed xmlns:bem=http:/removed xmlns:price=http://removed; messageId=xx schemaVersion=1.0 instanceId=xx publishMessageDtm=2014-11-13T22:27:07+00:00

Re: Camel JPA - Parameterized Queries?

2014-11-13 Thread Datla, Venkata
Hi, Can u plz tell me how to use consumer.parameters to send parameters to a named query in a jpa component. Thanks, Anwesh

Re: XPATH woes

2014-11-13 Thread Raul Kripalani
Your Envelope element is declared in a default namespace. Your XPath expression must use the namespace when referring to the element. Cheers. On 13 Nov 2014 22:32, Gershaw, Geoffrey A. geoffrey.gers...@credit-suisse.com wrote: Hi All, I'm trying to filter via xpath using the spring config.

Re: Multipart form data and servlet/restlet endpoint

2014-11-13 Thread Willem Jiang
I’m not sure what kind of web container that you use. Here is a link[1] about how to do it with tomcat 7. [1]http://stackoverflow.com/questions/8047173/how-to-enable-multipart-form-data-in-tomcat-7-0-8-server -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog:

Re: Error while deploying camel proxy in tomcat

2014-11-13 Thread Willem Jiang
I guest you are using Spring Web Application context listener to watch the change of camel-config.xml.  I think you need to make sure the Spring Application close rightly before redeploy the war again. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog:

Camel SQL component - Insert Operation

2014-11-13 Thread contactreji
Hi I am trying to insert a record into the camel database. I have no errors when I hard code the value like *to uri=sql:INSERT INTO testtable VALUES ('Samson') /* I was wondering why I get following error when I have following camel Spring DSL line *setHeader headerName=data

Re: .toUpperCase() doesn't work in the simple expression below.

2014-11-13 Thread Willem Jiang
I think you can consider to set exchange property by using some other script which supports toUpperCase(). Then reference it in the simple expression. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese)

Re: Multipart form data and servlet/restlet endpoint

2014-11-13 Thread navaltiger
Hi, Could do it following way. Will upload whole project at GitHub following way. -- web.xml -- web-app display-nameArchetype Created Web Application/display-name listener listener-class

redis project does not work for me

2014-11-13 Thread gmh
HI, We are trying to use Camel redis component when I found this following article: http://stackoverflow.com/questions/16428371/camel-redis-component-subscribe-to-a-channel-not-working I tried to run this project (https://github.com/soumyasd/camelredisdemo) and not able to see any results. I ran

Re: Camel SQL component - Insert Operation

2014-11-13 Thread Claus Ibsen
Hi You need Camel 2.11 or better to use named parameters as said here http://camel.apache.org/sql-component On Fri, Nov 14, 2014 at 3:49 AM, contactreji contactr...@gmail.com wrote: Hi I am trying to insert a record into the camel database. I have no errors when I hard code the value like

Re: Camel SQL component - Insert Operation

2014-11-13 Thread Pontus Ullgren
According to the documentation the syntax should be :#data so it looks like you have switched places on the : and # On Fri, Nov 14, 2014 at 3:49 AM, contactreji contactr...@gmail.com wrote: Hi I am trying to insert a record into the camel database. I have no errors when I hard code the value

Wiretap adds exchanges to MockEndpoint used in NotifyBuilder expression.

2014-11-13 Thread wjmcdonald
My understanding is that normally you can test a route by using the NotifyBuilder and a MockEndpoint and if you send one message into the route, you should be able to satisfy the mock.expectedMessageCount(1). However, it appears that the use of the wiretap component in a route adds extra

Re: Wiretap adds exchanges to MockEndpoint used in NotifyBuilder expression.

2014-11-13 Thread Claus Ibsen
WireTap creates a new exchange that is the purpose of it http://camel.apache.org/wire-tap On Fri, Nov 14, 2014 at 8:21 AM, wjmcdonald william.mcdon...@transcentra.com wrote: My understanding is that normally you can test a route by using the NotifyBuilder and a MockEndpoint and if you send one

Re: camel xmljson add @ signs to the json output. how to remove the @ signs

2014-11-13 Thread Claus Ibsen
Hi No sorry I dont know how to remove those. You are welcome to dive into the source code and see if there is something we can add. Sounds like we should add some option to remove the @. I wonder if they are there so the component can reverse from json, and then know that if its a @foo then that