Re: Graceful shutdown not working

2013-06-03 Thread miljenko
I've tested with versions 2.10.3 and 2.11.0. This is just a short example that can reproduce described problem. You can put anything else in the splitter, it will not be reached. Reducing unnecessary code showed that example worked if "seda" was replaced with "direct" or "maximumRedeliveries" rem

Transaction Management in Camel

2013-06-03 Thread srikanthsettivari
HI, My route like this from(jms:queue:firstqueue) .transacted() .processor(new MyProcessor()) .to("jms:queue:out") ---> in Myprocessor calss i am creating exchange message, and creating some dealy like thread.sleep() >at the time of Thread sleeping i am stopping the server. Then again i start

Re: Camel without Spring. Limitations?

2013-06-03 Thread Willem Jiang
Camel and CXF support Blueprint which can do the same thing as Spring does. Did you have a chance to try it? 发自我的 iPhone 在 2013-6-3,下午6:59,Jose 写道: > Hi, I am trying to use Camel without Spring and I am wondering if there are > some limitations. I guess the configuration would be more complic

RE: camel-xmljson

2013-06-03 Thread Surendra
Thank you. Date: Mon, 3 Jun 2013 08:53:18 -0700 From: ml-node+s465427n5733722...@n5.nabble.com To: surendrapam...@hotmail.com Subject: Re: camel-xmljson I'll take a look at it later. Regards, *Raúl Kripalani* Enterprise Architect, Open Source Integration specialist, Program Manag

Re: unmarshalling with jaxb

2013-06-03 Thread wagnermarques
I will study it, thanks for be kind -- View this message in context: http://camel.465427.n5.nabble.com/unmarshalling-with-jaxb-tp5733598p5733743.html Sent from the Camel - Users mailing list archive at Nabble.com.

using http:conduit without CXF

2013-06-03 Thread Pikej
Hi, I am wondering if it is possible to use http:conduit without CXF. I would like to use it with https4 compnent. I was looking for examples but all I have found is about CXF. This is the part i would like to use with my https4 component: http://www.company.com/product/orderEntry/service/1}O

Re: Performance Degradation due to Reverse DNS Lookups

2013-06-03 Thread Willem jiang
Hi, I'm not sure if setting the dummy implementation of X509HostnameVerifier can resolve the issue. Can you try it to see if it work? -- 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 (

Re: Performance Degradation due to Reverse DNS Lookups

2013-06-03 Thread rouble
In my router configuration I am specifying "https4" - is that what you wanted to know? cheers rouble On Mon, Jun 3, 2013 at 9:59 PM, Willem jiang wrote: > Hi, > > There are lots of http related components can provide the https connection, > it could be helpful if you can tell us which http comp

Re: Performance Degradation due to Reverse DNS Lookups

2013-06-03 Thread Willem jiang
Hi, There are lots of http related components can provide the https connection, it could be helpful if you can tell us which http component you are using. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://will

SSH using dynamic slip

2013-06-03 Thread Gvvenkat
Hi, I am trying to build a dynamic end using Slip for SSH flow. The goal is to run a ksh command in a remote linux machine. End machinne & script name changes based on the input file name. So I decided to use slip and this same method has helped me in solving such issues before ( with ftp compoan

No bean named 'CamelBeanParameterMappingStrategy' is defined

2013-06-03 Thread salemi
Hi, I started profilng my code with an APM software and I seeorg.springframework.beans.factory.NoSuchBeanDefinitionException and the message detail is No bean named 'CamelBeanParameterMappingStrategy' is defined. Did I miss something in my Spring Context? Thanks, Ali - Alireza Salemi -- V

Re: mybatis, velocity and html response

2013-06-03 Thread Conneen Michael
Christoph (et all) Thanks much.. OK.. I did get further.. I had a few errors.. 1. My SQLMapConfig.xml file was not there.. as when I use POJOs I usually name it differently and then use code to look it up. I did see the reference to "If the file is located in another location, you will nee

Performance Degradation due to Reverse DNS Lookups

2013-06-03 Thread rouble
Camel Dudes, We have detected a very strange issue in that our https routes degrade in performance when an ip address is used (as opposed to a domain name). Turns out that the Java core libraries do reverse DNS lookup for ip address when SSL connections are created. Read all about it here: https

Re: Routing from servlet to CXF JAXRS via direct

2013-06-03 Thread Todd Orr
That works perfectly. Thanks! On Mon, Jun 3, 2013 at 4:09 PM, Sergey Beryozkin wrote: > Hi > > On 03/06/13 20:53, Todd Orr wrote: > >> I'm relatively new to Camel. I did research what I am attempting to do, >> but >> did not find much help. >> >> The goal is to take an existing standalone CXF re

Re: Routing from servlet to CXF JAXRS via direct

2013-06-03 Thread Sergey Beryozkin
Hi On 03/06/13 20:53, Todd Orr wrote: I'm relatively new to Camel. I did research what I am attempting to do, but did not find much help. The goal is to take an existing standalone CXF rest service (with many service beans) and split it into multiple independent CXF rest services coordinated by

Camel 2.9.2, CXF 2.6.2 - How should the response look for CXF producer using Payload dataformat

2013-06-03 Thread Monga, Sunita (GE Healthcare)
Hello all, I have a route which sends a request to CXF webservice using Payload dataformat. My question should the response consist of only Soap:body or should it be the entire message soap:envelope Spring context http://service.webservices.xdrreceiverimpl.pil.hcit.ge.com";>

Re: confirm unsubscribe from users@camel.apache.org

2013-06-03 Thread Lars Fischer
Excerpts from users-help's message of 2013-06-03 21:49:31 +0200: > Hi! This is the ezmlm program. I'm managing the > users@camel.apache.org mailing list. > > I'm working for my owner, who can be reached > at users-ow...@camel.apache.org. > > To confirm that you would like > >fisc...@wiwi.uni

Routing from servlet to CXF JAXRS via direct

2013-06-03 Thread Todd Orr
I'm relatively new to Camel. I did research what I am attempting to do, but did not find much help. The goal is to take an existing standalone CXF rest service (with many service beans) and split it into multiple independent CXF rest services coordinated by Camel. As an initial step, I am attempt

Re: mybatis, velocity and html response

2013-06-03 Thread Conneen Michael
Wow.. a PROACTIVE user forum.. I LOVE IT.. I have not had the chance to dig into that.. Thank you for the reference.. as well as the onConsume.. I plan on looking at both later today. You guys ROCK! (that's a good thing in case there is any language differences on the list.. ;) Kind Regard

Re: mybatis, velocity and html response

2013-06-03 Thread Christoph Emmersberger
Hi Michael, any luck with taking a look at the producer template. As far as I can observe your routes, everything looks OK, except that it is still only partial and not bound together. You can always execute myBatis from a Processor within your route, I mean trigger your existing code base fro

Re: Camel Splunk component

2013-06-03 Thread Preben.Asmussen
yeah thats possible. I have some last features on the consumer side to hack on. When thats complete lets see if we can get the Splunk dependencies hosted via SMX at maven central :-) -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Splunk-component-tp5730476p5733739.html

Re: the namespace on the "IReportServiceExecuteRequest" element, is not a valid SOAP version

2013-06-03 Thread sunita
Hello, I am facing same issue. I get the same error - namespace is not a valid SOAP version. I added exchange.hasOut() before calling exchange.getOut(). hasOut returned true but getOut returned null headers and body Were you able to resolve the issue. -- View this message in context: http:/

Re: Camel Jetty - Performance Issue

2013-06-03 Thread boday
on a side note, you should reuse the ProducerTemplate in your processors across subsequent requests... minimize calls to "context.createProducerTemplate()" by using a static/class level variable to hold this reference, should help performance... WPk wrote > public class ScanningServicesProcesso

Re: Using ActiveMQ with Camel

2013-06-03 Thread VineetKK
Yes, I agree... After using servicemix, I really find it flexible and robust. -- View this message in context: http://camel.465427.n5.nabble.com/Using-ActiveMQ-with-Camel-tp5733407p5733730.html Sent from the Camel - Users mailing list archive at Nabble.com.

Accessing session variables in CAMEL given by Jboss servlet's JSPs

2013-06-03 Thread VineetKK
Hello, I have the following scenario: 1) I have my application deployed on JBoss 7. (http://localhost:8080/) 2) I have my service mix running. (http://localhost:8181) 3) Servlet in my application sends some parameters in session of my jsp. 4) This jsp then calls camel url mentioned in beans.xml 5

Re: Using ActiveMQ with Camel

2013-06-03 Thread boday
likewise, you can use Camle/AMQ with Servicemix as well and it can provide greater flexibility in terms of deployments (bundles with separate lifecycles, etc) see this guide for setting up AMQ: http://servicemix.apache.org/docs/4.4.x/activemq/index.html see this guide for setting up Camel: http://

Camel always sending MQRFH2 headers to target WebsphereMQ queue.

2013-06-03 Thread shashi.kant
I have been trying to send message to a IBM websphere MQ queue which has to be in IBM500 charset, MQFMT_STRING format and encoding 273 from a Camel 2.10.4 application running on jboss. tried General ways of setting the connectionfactory properly with following values: connection.setTransportType(JM

Re: camel-xmljson

2013-06-03 Thread Raul Kripalani
I'll take a look at it later. Regards, *Raúl Kripalani* Enterprise Architect, Open Source Integration specialist, Program Manager | Apache Camel Committer http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani http://blog.raulkr.net | twitter: @raulvk On Mon, Jun 3, 2013 at 4:0

Re: Camel Jetty - Performance Issue

2013-06-03 Thread WPk
public class ScanningServicesProcessor implements Processor { private static GlobalLogger log = GlobalLogger.getLogger(ScanningServicesProcessor.class.getName()); private LoadServicesHandler loadServicesHandler ; @Autowired public ScanningServicesProcessor (Load

Re: camel-xmljson

2013-06-03 Thread Surendra
Did anybody came across this issue? any clues? -- View this message in context: http://camel.465427.n5.nabble.com/camel-xmljson-tp5733645p5733712.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re:ActiveMQ Component: Stop route when no more messages are being received

2013-06-03 Thread Okello Nelson
Hi Guys, I've been trying to work on this. Time has been hard to come by though. Having thought hard about a potential solution, i think using timer component would be the way to go. When period on the timer elpases, i retrieve the number of exchanges at the endpoints of interest. A timer route l

Re: A web service consumer route per operation

2013-06-03 Thread Hilder
Oh, that is beautiful! Thank you Claus! -- View this message in context: http://camel.465427.n5.nabble.com/A-web-service-consumer-route-per-operation-tp5733630p5733709.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: regarding status code 302

2013-06-03 Thread indrayani
Hi, i have some different requirement, i am not able to understand how to proceed with that, can anyone tell me some bullet points to start with the same, the scenario is as follows : 1.there is one web application A deployed on tomcat 2.there is another web application B deployed on jetty on diff

How to build a nested content based router?

2013-06-03 Thread Hilde
Hello Everybody, How can I model a nested content based router via the java dsl? The following trial was not successful: .choice() .when(header(CxfConstants.OPERATION_NAME).isEqualTo("importOrder")) .beanRef("logOrderConverter") .to("jpa:com.company.production.entiti

Re: Graceful shutdown not working

2013-06-03 Thread Claus Ibsen
Sounds a bit odd. If the splitter only logs What Camel version do you use? On Mon, Jun 3, 2013 at 3:01 PM, miljenko wrote: > Hi, > > I've got graceful shutdown issue that can be reproduced with this route: > > > errorHandler(deadLetterChannel("direct:queue2") >

Re: Trying to set JaxbDataFormat on CdiCamelContext

2013-06-03 Thread Claus Ibsen
Hi Do you have a jaxb.index file in the classpath so JAXB knows which JAXB classes you have? On Thu, May 30, 2013 at 4:54 PM, Ornitorrinc wrote: > My goal is to set on the CdiCamelContext, the information required about > JaxbDataFormat to be able to use Jaxb on the routes building. But I have n

Re: placeholder in an endpoint?

2013-06-03 Thread PJ Walstroem
great, thank you very much! -- View this message in context: http://camel.465427.n5.nabble.com/placeholder-in-an-endpoint-tp5733698p5733702.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Passing a list of parameters in SQL endpoint

2013-06-03 Thread Claus Ibsen
I logged a ticket about this https://issues.apache.org/jira/browse/CAMEL-6418 On Thu, May 16, 2013 at 9:29 AM, Claus Ibsen wrote: > Hi > > Ah yeah maybe something we can improve. > > Can you details Camel version used. And also maybe the SQL you want to > execute. And what your body contains. > T

Re: placeholder in an endpoint?

2013-06-03 Thread Claus Ibsen
Hi See this FAQ http://camel.apache.org/how-do-i-use-dynamic-uri-in-to.html On Mon, Jun 3, 2013 at 3:18 PM, PJ Walstroem wrote: > I'm trying to do > > .to("${in.header.JMSReplyTo}") > > but can not get it to work. Is there any way to easily fetch the Exchange > headers and use them in the Proces

placeholder in an endpoint?

2013-06-03 Thread PJ Walstroem
I'm trying to do .to("${in.header.JMSReplyTo}") but can not get it to work. Is there any way to easily fetch the Exchange headers and use them in the ProcessorDefinition? -- View this message in context: http://camel.465427.n5.nabble.com/placeholder-in-an-endpoint-tp5733698.html Sent from th

Graceful shutdown not working

2013-06-03 Thread miljenko
Hi, I've got graceful shutdown issue that can be reproduced with this route: errorHandler(deadLetterChannel("direct:queue2") .maximumRedeliveries(1) ); from("seda:queue1") .log("Checkpoint 1")

Re: activemq replyTo not working sometimes

2013-06-03 Thread kiranreddykasa
While restarting child route, Existing consumers are getting closed on the reply queue. And again it's not trying to reconnect!! - Regards kiran Reddy -- View this message in context: http://camel.465427.n5.nabble.com/activemq-replyTo-not-working-sometimes-tp5733682p5733695.html Sent fro

Re: how does force stop a ftp consumer immediately?

2013-06-03 Thread Claus Ibsen
Hi You can possible enable streamDownload which may be able to break the download if shutting down. Camel uses Commons Net 3.1. So you can also look at this docs/user forums etc to see if they have a solution to this. Maybe there is a piece missing in camel-ftp to make this easy out of the box?

Re: Problem with runTimeException handling.

2013-06-03 Thread Claus Ibsen
Hi If you have a copy of Camel in Action, see chapter 5, section 5.4.5 You can tell Camel to continue with the onException. You can find a bit of information on the Camel web site also about this. On Mon, Jun 3, 2013 at 9:47 AM, suyash.singh wrote: > Hi, > > We are developing an app using Ap

RE: Camel-process

2013-06-03 Thread Diether
Where do you want to download the file too? You don't need a processor for that, camel has it all build in. Try something like: from("ftp://127.1.1.1/src?password=&fileName=comma.txt&noop=true";) .to(file:localDirectory); But I really think you should look at the Camel examples first and try t

Re: mybatis, velocity and html response

2013-06-03 Thread Conneen Michael
Christoph (et all), Thanks for the reply... I apologize for not being clear.. I know that is important for effective use of everyones time. Here is the use case.. User http posts a form to servlet (camel servlet I have this working via the camel tomcat example as starting point..

Re: Messages "disappear" if fabric endpoint resolves to null / blank

2013-06-03 Thread fordm
Thanks Claus, I appreciate this is more of a fabric than a camel question, I'll repost to the FuseSource forum. I'm using Fuse version 7.1.0.fuse-047 and Camel 2.10.4 Cheers -- View this message in context: http://camel.465427.n5.nabble.com/Messages-disappear-if-fabric-endpoint-resolves-to-n

Re: Camel-process

2013-06-03 Thread milan777
ftp_context.addRoutes(new RouteBuilder() { public void configure() { Processor ftpProcessor = new Processor() { public void process(Exchange e) { Message i

Re: Messages "disappear" if fabric endpoint resolves to null / blank

2013-06-03 Thread Claus Ibsen
Hi This is the Apache Camel mailing list, and as such questions about the Apache project should be primary discussed. You can use the FuseSource forums / or the fabric mailing list for fabric questions, for any new questions about fuse or fabric http://fusesource.com/forums/index.jspa http://fuse

Re: Camel Weblogic 12c

2013-06-03 Thread Jose
Hi Preben, Thanks for the link. I have managed to run Camel in Weblogic 12 but without using Spring following the instructions described in this link: http://docs.oracle.com/cd/E24329_01/web.1211/e24964/data_types.htm#CIHBHDGI -- View this message in context: http://camel.465427.n5.nabble

Camel without Spring. Limitations?

2013-06-03 Thread Jose
Hi, I am trying to use Camel without Spring and I am wondering if there are some limitations. I guess the configuration would be more complicated but I wonder if I will loose some features. In particular, I am planning to use Camel with CXF. All the examples that I have seen use Camel with Spring.

references in Camel using Blueprint.

2013-06-03 Thread bruno.meseguer
Hi, I'm new to Camel, and I'm still digesting all the bits and pieces. I'm having a problem with the combination Blueprint/Camel, I would say it's more on the Blueprint side. First of all could you please confirm you could can help me here with Blueprint difficulties? The problem is the followin

Messages "disappear" if fabric endpoint resolves to null / blank

2013-06-03 Thread fordm
HI, I've got a fairly simple camel route that uses a recipient list to route messages: fabric:${header.routeKey} The getRouteKey process refers to a bean that adds a "routeKey" field to the exchange header, which is then used as a lookup in the fabric registry.

activemq replyTo not working sometimes

2013-06-03 Thread kiranreddykasa
Hi We have following routes parent : from(CXF).to(JMS) child: from(JMS).to(processor) In jms endpoint we have set exclusive reply queue. Normally there is no issue, but sometimes if we are restarting the child route cxf is not receiving the replies and default time out exception is thrown.

Re: Camel Splunk component

2013-06-03 Thread Claus Ibsen
Hi Maybe the SMX team can do a OSGi wrap bundle of splunk and release it in maven central as they do today http://repo2.maven.org/maven2/org/apache/servicemix/bundles/ Then we can use that bundle/JAR in the camel-splunk component. On Sun, Jun 2, 2013 at 4:23 PM, Preben.Asmussen wrote: > Small u

RE: bean with method parameters in camel

2013-06-03 Thread Diether
Put short: you can pass method parameters if they are part of the Exchange (either body or as headers). But it's still unclear for me where these params should come from, or what you are trying to do. You say "user input", but user input should be done before sending the Exchange and entering t

Re: A web service consumer route per operation

2013-06-03 Thread Claus Ibsen
See this example also, how to have a "route per operation" http://camel.apache.org/cxf-tomcat-example.html On Sun, Jun 2, 2013 at 10:11 PM, Hilde wrote: > Ich verstehe, vielen Dank! > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/A-web-service-consumer-route-per-

Re: bean with method parameters in camel

2013-06-03 Thread Tarun Kumar
Hi Claus, I have gone through all these links. Is there anything specific i am missing here? On Mon, Jun 3, 2013 at 2:02 PM, Claus Ibsen wrote: > Hi > > Yeah read the docs > http://camel.apache.org/bean-integration.html > http://camel.apache.org/bean-binding.html > http://camel.apache.org/para

Re: No component found with scheme: XY

2013-06-03 Thread Smith-John
Raul Kripalani wrote > It can be seen in your logs that your bundle my.test.core.service starts > before camel-cxf. That's clearly the cause of the problem. > > Increasing the start level of my.test.core.service to a number above > camel-cxf's will help. > > Regards, > Raúl. > On 31 May 2013 15:5

Re: bean with method parameters in camel

2013-06-03 Thread Claus Ibsen
Hi Yeah read the docs http://camel.apache.org/bean-integration.html http://camel.apache.org/bean-binding.html http://camel.apache.org/parameter-binding-annotations.html On Mon, Jun 3, 2013 at 10:14 AM, Tarun Kumar wrote: > my use case is: > > from().bean().end() > > Based on user input, i want t

Re: Camel-process

2013-06-03 Thread Christian Müller
Please take some more time to ask questions and study [1]. [1] http://camel.apache.org/support.html Best, Christian Müller - Software Integration Specialist Apache Camel committer: https://camel.apache.org/team V.P. Apache Camel: https://www.apache.org/foundation/ Apache Member

Camel-process

2013-06-03 Thread milan777
Can we write process inside process in camel? how? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-process-tp5733662.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: bean with method parameters in camel

2013-06-03 Thread Tarun Kumar
my use case is: from().bean().end() Based on user input, i want to make bean call. So, basically method parameters for bean call will come from exchange as well as user input. I was wondering if there is any way to make bean call with method parameters as exchange as well some user input paramete

Problem with runTimeException handling.

2013-06-03 Thread suyash.singh
Hi, We are developing an app using Apache Camel and using timers to control sessions. When a timer expires, we throw a runtimeException to send a message to the customer. The CAMEL route in the meantime does not continue as a result and breaks out of the pipeline. In certain cases, we would like

Re: mybatis, velocity and html response

2013-06-03 Thread Christoph Emmersberger
Hi Michael, let me try to ask some questions: A: Are you executing this example as unit test? If so, why don't you apply the ProducerTemplate and simply pass the list when executing the sendBody() operation? B: We'll, ... you probably need to send it somewhere via the to() statement, e.g. to t

Re: Transactions and Cache Levels

2013-06-03 Thread Darwish
Yes cluas .. XA is evil , i will simplify my route design and make sure that the JDBC operation is last step in my route Christian ..thank you for sample .. im reviewing the jmsAndJdbc sample: from("activemqTx:queue:transaction.incoming.one") .transacted("PROPAGATION_REQ