Re: How to record time token after accessing a route or endpoint

2013-12-04 Thread Claus Ibsen
Camel has JMX api that offers performance metrics http://camel.apache.org/camel-jmx.html As an example for using the JMX any 3rd party projects/tooling can use that for tooling purposes such as hawtio showing nice insight into your running Camel applications http://hawt.io/ ... and there is also

Re: Error in XSLT message tranformation

2013-12-04 Thread madusanka
Hi, I changed the 2nd URI as you told. Now a FileNotFound exception is thrown. It says Cannot find resource in classpath for URI: /home/madusanka/Desktop/example.xsl. The example.xsl file exists in my desktop. How to set the classpath in the URI? camel:camelContext

problems with route cxf - netty

2013-12-04 Thread troesler
hello i want to setup a camel route that has a soap webservice able to receive a soap message and then route it towards a tcp socket. the tcp socket has to wait for a client to connect, if its connected it then sends the message towards it cxf endpoint -- tcp socket (netty) i created a cxf

Re: problems with route cxf - netty

2013-12-04 Thread troesler
now that i added textline=true option to netty i get the contents readable by listening on that port. but now get a timeout and the problem with establishing a connection to that port still persists. -- View this message in context:

Re: Error in XSLT message tranformation

2013-12-04 Thread Claus Ibsen
Use file: as prefix to tell Camel its on the file system and not classpath: which is the default As you can see documented clearly here http://camel.apache.org/xslt On Wed, Dec 4, 2013 at 10:23 AM, madusanka madusankabalasoor...@gmail.com wrote: Hi, I changed the 2nd URI as you told. Now a

Re: How to run Camel with a web application

2013-12-04 Thread manchandap
haven't seen any reply to this wondering if i need to add more information to the original post. -- View this message in context: http://camel.465427.n5.nabble.com/How-to-run-Camel-with-a-web-application-tp5743607p5744298.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Error in XSLT message tranformation

2013-12-04 Thread madusanka
Thanks a lot. It worked. Now i want to put the XSLT file in the classpath. Does classpath refer to the servicemix installation directory or the group id (ex - org.apache.camel) in the org.apache.camel.archetype generated camel project ? Because what I need is to put the xslt file in the camel

Re: Error in XSLT message tranformation

2013-12-04 Thread Claus Ibsen
Its the classpath of your own bundle (application). If you use maven for your development, then put the file in the src/main/resources directory. On Wed, Dec 4, 2013 at 10:58 AM, madusanka madusankabalasoor...@gmail.com wrote: Thanks a lot. It worked. Now i want to put the XSLT file in the

Consuming SOAP web service using Camel

2013-12-04 Thread rameshbabu
Hi, I am trying to consuming the soap web service using camel. route id=smsc_to_queue_and_database from uri=jms:queue:Request / bean ref=WorkOrder_Request / // I am preparing request Object transform simple lt;soapenv:Envelope

ZeroMQ publishing infinte number of times

2013-12-04 Thread harikrish07121991
Using the following creating a dynamic ZeroMQ route camel:route camel:from uri=seda:sample/ log message=stream slip message=${body} / camel:dynamicRouter camel:method

Re: ZeroMQ publishing infinte number of times

2013-12-04 Thread Claus Ibsen
Read the documentation about the dynamic router eip http://camel.apache.org/dynamic-router.html On Wed, Dec 4, 2013 at 1:15 PM, harikrish07121991 harikrish07121...@gmail.com wrote: Using the following creating a dynamic ZeroMQ route camel:route

Re: ZeroMQ publishing infinte number of times

2013-12-04 Thread harikrish07121991
Thanks for your reply Claus Ibsen-2 but you got me wrong, i want to create a dynamic route depending upon the data i am receiving .. ie each time the zmq route changes . -- View this message in context:

Re: Error in XSLT message tranformation

2013-12-04 Thread madusanka
I was able to solve my problem. Thanks a lot !!! -- View this message in context: http://camel.465427.n5.nabble.com/Error-in-XSLT-message-tranformation-tp5744263p5744317.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: issue with ExchangeHelper.resolveEndpoint when using RAW() parameter on authPassword

2013-12-04 Thread Marco Crivellaro
my bad, it is the same for FTP. I got confused by another issue I've found... will open a separate thread -- View this message in context: http://camel.465427.n5.nabble.com/issue-with-ExchangeHelper-resolveEndpoint-when-using-RAW-parameter-on-authPassword-tp5744246p5744320.html Sent from the

Method with name: sayHi not found on bean - Using apache Camel

2013-12-04 Thread Arthanarisamy
I am using apache camel to communicate to a remote EJB which is deployed in Weblogic Server 12c. when i invoke remote EJB it throws me the below exception org.apache.camel.component.bean.MethodNotFoundException: Method with name: sayHi not found on bean:

javax.xml.transform.TransformerException

2013-12-04 Thread madusanka
Hi, I'm trying to transform a SOAP message using XSLT. But it throws javax.xml.transform.TransformerException saying Invalid encoding name. I use SOAP 1.2. The same error was given for SOAP 1.1 2013-12-04 21:45:37,306 | ERROR | qtp27828643-221 | DefaultErrorHandler | 100 -

Issue with password having double

2013-12-04 Thread Marco Crivellaro
Hi, there is an issue with handling password with double even when wrapping it into RAW() constraint For instance the use of URI http://hostname/script.php?authMethod=BasicauthPassword=RAW(paword)authUsername=usr throws the exception: org.apache.camel.ResolveEndpointFailedException: Failed to

Re: javax.xml.transform.TransformerException

2013-12-04 Thread madusanka
the problem is with the encoding. It works properly when UTF-8 is used -- View this message in context: http://camel.465427.n5.nabble.com/javax-xml-transform-TransformerException-tp5744321p5744325.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel-maven-plugin 2.12.1 Problem

2013-12-04 Thread atiato
Dear Clause, I'm have issue when running the camel project with version 2.12.1 camel maven plugin , I rolled back to 2.9.0 to make the project work , attached is the error log when using 2.12.1. Thanks, Omar Atia mavenplugin2.12.1exception.rar

Re: Consuming SOAP web service using Camel

2013-12-04 Thread Christian Posta
what ends up being in the body (in.body)? On Wed, Dec 4, 2013 at 3:45 AM, rameshbabu rameshbabu.arig...@gmail.com wrote: Hi, I am trying to consuming the soap web service using camel. route id=smsc_to_queue_and_database from uri=jms:queue:Request / bean ref=WorkOrder_Request / // I am

Passing parameter to Bean

2013-12-04 Thread zahir
Hello, I have a property file defined in applicationContext.xml camelContext xmlns=http://camel.apache.org/schema/spring; propertyPlaceholder id=properties location=config.properties/ packagetransformation/package /camelContext there is property there in above property file names

Re: Consuming SOAP web service using Camel

2013-12-04 Thread Willem Jiang
What kind of CXF data format do you use? I doubt you may put a HTML tag there. 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 (http://willemjiang.blogspot.com/) (English)

Re: Accessing property on bean in header?

2013-12-04 Thread Andrew Thorburn
Something is broken here - not sure if it's me or Camel, but I can't say that I expected that,given the following: setHeader(test).simple(${in.header.simpleBean} == null, Boolean.class).setHeader(test2).simple(${in.headers.simpleBean} != null, Boolean.class) *Both* headers are false! This is

Re: Passing parameter to Bean

2013-12-04 Thread Christian Posta
inject it into your route builder as a String, then you can use it in your route or reference it somehow On Wed, Dec 4, 2013 at 2:49 PM, zahir zahir...@yahoo.ca wrote: Hello, I have a property file defined in applicationContext.xml camelContext xmlns=http://camel.apache.org/schema/spring;

Re: DSL Logging not outputting to the logs

2013-12-04 Thread mckinnonrob
Claus Ibsen-2 wrote The log uses the route name as the logger name by default. You can try to specify a logger name to use with the 3 args version public Type log(LoggingLevel loggingLevel, String logName, String message) { I specified the three args version with the following:

Re: DSL Logging not outputting to the logs

2013-12-04 Thread mckinnonrob
Raul Kripalani wrote Are you getting any other log statements printed out to your 'out' console appender? Yes. I am seeing all the log chatter. Just not seeing logs from the route. -- View this message in context:

Re: Passing parameter to Bean

2013-12-04 Thread zahir
Thank you for your reply. Could you show me an example. -- View this message in context: http://camel.465427.n5.nabble.com/Passing-parameter-to-Bean-tp5744331p5744343.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Accessing property on bean in header?

2013-12-04 Thread Andrew Thorburn
Had another crack at this, and my ultimate problem was that I didn't read the documentation carefully enough - I can do what I want, just not how I wanted to do it. What I wanted to have was a property called a.b.c, and then be able to call an OGNL expression on it. I had thought I could do it by

Passing multiple parameters to CXF endpoint

2013-12-04 Thread trilochan237
Hi, Can anyone help in passing multiple parameters to the CXF endpoint which is expecting multiple parameters. from(direct:test1).process(new Processor() { @Override public

Re: problems with route cxf - netty

2013-12-04 Thread troesler
what i have found out from uri=netty:tcp://localhost:port / this configures it as server socket where clients can connect to uri=netty:tcp://localhost:port / this configures it as client that can connect to a server socket now if i have this route from uri=cxf:bean:myendpoint /

Re: Spring AMQP Apache Camel Component Released

2013-12-04 Thread muthukumara...@gmail.com
Hi, I tried to use your component and it works perfectly fine. I did test it with our minimal testcases and things worked fine. Is this component ready to be used for production use? Thanks, Muthu -- View this message in context: