Re: Camel bundle not always showing started status

2013-04-15 Thread Claus Ibsen
Hi I think its an Karaf / OSGi issue. You may consider trying the SMX / Karaf mailing lists. And maybe search/google those to see talks in the past about that missing information. And it may be fixed in recent releases. You don't say what version of Karaf/SMX you use etc. On Mon, Apr 15, 2013 at

Dynamic web service calling using camel route end point

2013-04-15 Thread srikanthsettivari
i need to configure the route end point using WSDL file . I don't know the service classes . I don't want to keep the service classes in my classpath . Just i know the wsdl file. Please help me. Thanks -- View this message in context: http://camel.465427.n5.nabble.com/Dynamic-web-service-callin

Re: Quickfix to Direct message loss

2013-04-15 Thread Willem jiang
I'm not a quick fix expert, but I can tell you the difference between the direct and seda component. Direct component just provide the sync invocation, the seda can leverage the Camel Async engine to execute the processes with multiple threads and it is more effective. Can you try to set the in

Camel 2.10.4 and Activemq-optional.jar 5.7.0

2013-04-15 Thread vivek79
I have been trying to use websocket transport in camel route, and was suggested to include activemq-optional.jar . but latest version of Camel 2.10.4 and activemq-optional.jar 5.7.0 seems to be incompatible . It seems that jetty version causes conflicts. When I use camel 2.11-SNAPSHOT then ther

Camel EmbeddedBroker and WebSocket

2013-04-15 Thread vivek79
Hi, I am using camel routes to embedded broker using following code. ConnectionFactory connectionFactory = new ActiveMQConnectionFactory("vm:broker:(ws://0.0.0.0:61614)") getContext().addComponent("event-jms",JmsComponent.jmsComponentAutoAcknowledge(connectionFactory)) from("jetty:http://

Re: Quickfix to Direct message loss

2013-04-15 Thread bhanuprakash
We are using an Injector application which starts a Quickfix Acceptor connection at a IP/port . Then we start the camel routes on a separate VM as Initiator using Camel quickfix component. Once FIX session is established and heartbeat messages are exchanged we send messages from our Injector ap

Re: Quickfix to Direct message loss

2013-04-15 Thread bhanuprakash
Thank you for responding. I am using Camel 2.10.1 version. My bean transforms FIX msg from one format to another. But , even if I remove the bean and define the route like this Still , I receive 75-80 messages. -- View this message in context: http://camel.4

Re: "Unresolved constraint in bundle activemq-broker.xml" Error in fresh 4.5.1 servicemix

2013-04-15 Thread Willem jiang
Did you have chance to install the ActiveMq feature ? -- 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) http://jnn.iteye.com (http:

Re: Quickfix to Direct message loss

2013-04-15 Thread Willem jiang
How did you inject the 10 millisecond gap? I cannot tell it form the the routes those you showed. -- 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/) (En

Re: How to Use ProducerTemplate for testing secure CXF-WS?

2013-04-15 Thread Willem jiang
Hi, If you want to send customer headers through the ProducerTemplate, please check this[1] out. [1] http://camel.apache.org/cxf.html#CXF-HowtogetandsetSOAPheadersinPOJOmode -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat

Re: Creating new processor components

2013-04-15 Thread Christian Müller
A few useful links are: http://camel.apache.org/creating-a-new-camel-component.html http://camel.apache.org/writing-components.html http://camel.apache.org/add-new-component-guide.html Best, Christian On Mon, Apr 15, 2013 at 5:09 PM, valerian.merkling < valerian.merkl...@capgemini.com> wrote: >

Re: Splitting XML into multiple separate bits and send out to webservices

2013-04-15 Thread Claus Ibsen
Hi You can use xpath to split the xml payload with the splitter eip http://camel.apache.org/splitter If you need to split very big xml files etc then check some of the articles you can find links at from this page: http://camel.apache.org/articles On Mon, Apr 15, 2013 at 8:26 PM, RTernier wro

Re: Camel xmpp dynamic router is not connecting to openfire.

2013-04-15 Thread Christian Müller
Check The JIRA issue. Sent from a mobile device Am 15.04.2013 21:30 schrieb "namita" : > Hi All, > > Please give updates about this issue? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-xmpp-dynamic-router-is-not-connecting-to-openfire-tp5730506p5730938.html

Re: Camel xmpp dynamic router is not connecting to openfire.

2013-04-15 Thread namita
Hi All, Please give updates about this issue? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-xmpp-dynamic-router-is-not-connecting-to-openfire-tp5730506p5730938.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel bundle not always showing started status

2013-04-15 Thread sarfaraj
Hi, I have camel context file with SFTP consumer. Which is working fine But I see that bundle sometime is in started status sometime not(blank). PFA for more information. Why its b

Re: JMS Request/Reply

2013-04-15 Thread f.pascal
Thanks, No, we have not touched anything. The problem appears after a few days. I found in the logs (bellow) messages saying that recreated a camel producer for the jms uri LOG : [2013-04-15 11:07:54,818] [Camel (Sae) thread #197 - JmsReplyManagerTimeoutChecker[T2P.ENROL.R]] org.apache.camel.sup

Re: Splitting XML into multiple separate bits and send out to webservices

2013-04-15 Thread RTernier
QUick sample of my XML: I know the names of the elements I want split, and the URL's they're going to, each inner message will go to a unique Web service endpoint. -- View this message in context: http://camel.465427.n5.nabble.com/Splitting-XML-into-multiple-separate-bits-and-send-out-to-webs

Splitting XML into multiple separate bits and send out to webservices

2013-04-15 Thread RTernier
I'm just starting out on Camel here. I'm trying to see if this can be done with Spring XML and Camel, without the need for a lot of custom Java. If it's needed, then it's needed.I have a scenario where I will have 1 incoming XML Message (WebService request) that I need to split into multiple messag

Re: Camel routing DSL - Questions

2013-04-15 Thread prabumc...@gmail.com
Thanks for reply one more question pending Question:2 Error in code from(INBOUND_QUEUE) .choice().when(header(TYPE).isNotNull()) .recipientList(simple("activemq:queue:Inbound.${header.TYPE}")) .otherwise() .to(ERQ_QNAME) .endChoice(); After execute i am getting following error. Error: R

Re: JMS Request/Reply

2013-04-15 Thread Claus Ibsen
Not sure what happens. Do you stop/start the JMS route / consumer / or anything, or do any changes in the application? Also you can try upgrading to a newer Camel version. On Mon, Apr 15, 2013 at 1:55 PM, f.pascal wrote: > Hi, > > After few days of exploitation, JMS ReplyManager could not find t

Re: JMS Component - Customized messageConverter

2013-04-15 Thread Claus Ibsen
Hi You can do it in the xml file using standard spring bean style, eg: On Sun, Apr 14, 2013 at 3:52 PM, AbhishekSamuel wrote: > Hey Claus, > > Thanks for the reply. Am new to this configuration with spring. How do i go > about calling the setter method for the myMessageConverter object gi

Re: Custom URIResolver for XSLT component

2013-04-15 Thread Claus Ibsen
You need to assign an id to that bean so Camel can find it #xsltUriResolver means the id of the bean should be: xsltUriResolver On Mon, Apr 15, 2013 at 4:19 PM, nikagra wrote: > Hello > I'd like to implement custom URI resolver for XSLT component. I'm using > Spring to configure Camel context.

Re: Apache Camel enrich message with file content on request

2013-04-15 Thread Claus Ibsen
If you know the name of the file to pickup, then its much easier to transform the message body to java.io.File of that file. For example something like: /somepath/${header.filenameToPickup} On Mon, Apr 15, 2013 at 8:57 AM, nikagra wrote: > Hello > I've already asked this question on stacko

Re: Camel routing issue

2013-04-15 Thread prabumc...@gmail.com
So for dynamic queue i have to use only recipientlist correct,we can't use .to One more question,i can't use otherwise in choice please correct if my syntax is wrong. from(INBOUND_QUEUE) .choice().when(header(TYPE).isNotNull()) .recipientList(simple("activemq:queue:Inbound.${header.TYPE}")) .ot

Re: Creating new processor components

2013-04-15 Thread Claus Ibsen
Hi You custom component is deploy the same way you deploy any of the Camel components that is shipped with Apache Camel. So in some way of the other you need to add your JAR to the classpath where you application runs. Or how you deploy it. For the component name, then make sure the META-INF/ser

Re: org.springframework.jms.InvalidDestinationException while trying to place a message on queue

2013-04-15 Thread Magnus Palmér
I have to do other things for a while, got as far as creating an ActiveMQ config that does not allow creation of new queue destinations on the fly. Using this with an invalid replyTo in the endpoint configuration of the producer template causes the infinite retries (every 5 seconds) as described in

Re: Camel routing DSL - Questions

2013-04-15 Thread Claus Ibsen
Hi And for #3 you can use the dynamic router, or recipient list, and call a method on a bean instead. Then you don't need 85 when's in the content based router, that is too much. eg just as in regular java code, you do not want to have 85 x if .. else. On Mon, Apr 15, 2013 at 4:43 PM, prabumc...

Re: Camel routing DSL - Questions

2013-04-15 Thread Claus Ibsen
For #2 see this FAQ http://camel.apache.org/why-can-i-not-use-when-or-otherwise-in-a-java-camel-route.html On Mon, Apr 15, 2013 at 4:43 PM, prabumc...@gmail.com wrote: > Question:1 > > I am having code like blow.based on condition i want forward into dynamic > queue. > > .when(header(TYPE).isN

Re: Camel routing issue

2013-04-15 Thread Claus Ibsen
Hi Yes recipient list uses an expression for evaluating where to send the message to. See its doc http://camel.apache.org/recipient-list.html And this FAQ http://camel.apache.org/how-do-i-use-dynamic-uri-in-to.html And there is no performance overhead. eg when you send the message to a previous

Creating new processor components

2013-04-15 Thread valerian.merkling
Hi ! I'm trying to make a component from one of my processor. I followed this tutorial which does not includes informations about installation and use. Now my jar is here, i don't know where i have to put it, i tri

Re: Camel routing DSL - Questions

2013-04-15 Thread Marco Westermann
I guess you would get more help if you are more patient and not sent three mails in 10 minutes asking the same. Marco Am 15.04.2013 16:43, schrieb prabumc...@gmail.com: Question:1 I am having code like blow.based on condition i want forward into dynamic queue. .when(header(TYPE).isNotNull

Re: Camel routing issue

2013-04-15 Thread prabumc...@gmail.com
Please kindly help me.. Regards Prabu.N On Mon, Apr 15, 2013 at 1:36 PM, Prabu wrote: > Hi Chris/Claus, > > *Question:1* > > I am having code like blow.based on condition i want forward into dynamic > queue. > > .when(header(TYPE).isNotNull()) > .recipientList(simple("activemq:queue:Inbound

Custom URIResolver for XSLT component

2013-04-15 Thread nikagra
Hello I'd like to implement custom URI resolver for XSLT component. I'm using Spring to configure Camel context. The problem is when I configure URI resolver using @Component and @Qualifier annotations I got No bean {bean id} could be found in the registry of type: javax.xml.transform.URIResolver

Re: unable to start or stop activemq routes

2013-04-15 Thread Claus Ibsen
Hi I suggest to check the logs, to see what happens. And please when you ask for help, put out more details in the mail. Some points what to include is here: http://camel.apache.org/support On Mon, Apr 15, 2013 at 1:50 PM, kiranreddykasa wrote: > Hi > > I'm unable to start or stop routes which

Re: "Unresolved constraint in bundle activemq-broker.xml" Error in fresh 4.5.1 servicemix

2013-04-15 Thread Claus Ibsen
Hi Please use the @user mailing list from the Apache ServiceMix project for these questions about SMX. On Mon, Apr 15, 2013 at 3:36 PM, sarfaraj wrote: > Hi, > > I just downloaded servicemix 4.5.1 v and start the servicemix. I see the > below message in servicemix.log file > > Is there any issue

Re: Quickfix to Direct message loss

2013-04-15 Thread Claus Ibsen
What version of Camel do you use? And what does your bean do? On Mon, Apr 15, 2013 at 12:49 PM, bhanuprakash wrote: > I fired 100 FIX messages with a injector with 10 millisecond gap inbetween. > > The routes looked like this > > >quickfix* > >direct*:process > > > > > direct*:proce

"Unresolved constraint in bundle activemq-broker.xml" Error in fresh 4.5.1 servicemix

2013-04-15 Thread sarfaraj
Hi, I just downloaded servicemix 4.5.1 v and start the servicemix. I see the below message in servicemix.log file Is there any issue in 4.5.1 version ? 18:59:02,450 | WARN | icemix-4.5.1/etc | fileinstall | 7 - org.apache.felix.fileinsta

JMS Request/Reply

2013-04-15 Thread f.pascal
Hi, After few days of exploitation, JMS ReplyManager could not find the correlation request in this TimeoutMap ! It's clear that we have various JmsReplyManagerTimeoutChecker threads on the same Queue, with different TimeoutMap – in the log bellow, one time we have 1 in timeout map with thread #

Re: org.springframework.jms.InvalidDestinationException while trying to place a message on queue

2013-04-15 Thread Magnus Palmér
The best way is to create a JUnit test that uses ActiveMQ so it can potentially become a part of the source. Using ActiveMQ you will need to make sure that you don't dynamically create new destinations on the fly. http://activemq.apache.org/how-do-i-create-new-destinations.html I think I would the

Re: How to use a cxf consumer in camel

2013-04-15 Thread valerian.merkling
It's ok with the operationName, it works with this route : CreerOuModifierCargaisons and this message http://webservices.basemetier/";> a <...> ... f Thanks

Re: Camel routing issue

2013-04-15 Thread prabumc...@gmail.com
Question:1 I am having code like blow.based on condition i want forward into dynamic queue. .when(header(TYPE).isNotNull()) .recipientList(simple("activemq:queue:Inbound.${header.TYPE}")) i want to use .to(simple ) insight of .recipientList(simple) Please suggest is it possible?.why it is no

unable to start or stop activemq routes

2013-04-15 Thread kiranreddykasa
Hi I'm unable to start or stop routes which has activemq as endpoint !! The start method blocks forever , What might be the reason??? - Regards kiran Reddy -- View this message in context: http://camel.465427.n5.nabble.com/unable-to-start-or-stop-activemq-routes-tp5730896.html Sent fro

Re: org.springframework.jms.InvalidDestinationException while trying to place a message on queue

2013-04-15 Thread praveenbillampati
Thanks for the try magnuspalmer. I too tried for junit tests but don't find any.. Let me know if you have any other ideas on the approach.. I can try it out.. -- View this message in context: http://camel.465427.n5.nabble.com/org-springframework-jms-InvalidDestinationException-while-trying-t

How to Use ProducerTemplate for testing secure CXF-WS?

2013-04-15 Thread Frank Ertl
Hi there, currently I'm trying to test a route starting with an cxf-endpoint using a ProducerTemplate. I add the necessary securityheaders like this: Document document = message.getSOAPPart(); WSSecHeader securityHeader = new WSSecHeader(); securityHeader.setMustUnderstand(false); securityHeader

Quickfix to Direct message loss

2013-04-15 Thread bhanuprakash
I fired 100 FIX messages with a injector with 10 millisecond gap inbetween. The routes looked like this quickfix* > direct*:process > direct*:process> bean*:transform> I am able to recieve 75-80 messages everytime I test this. But , when I do this quickfix*> file*:C:

Quickfix to Direct message loss

2013-04-15 Thread bhanuprakash
I fired 100 FIX messages with a injector with 10 millisecond gap inbetween. The routes looked like this quickfix* > direct*:process > direct*:process> bean*:transform> I am able to recieve 75-80 messages everytime I test this. But , when I do this quickfix*> file*:C:

Re: Strange Error with XSLT transformation

2013-04-15 Thread Jothi
I just got to know that it is a known issue. http://fusesource.com/forums/message.jspa?messageID=12367 Will have to now use a workaround to solve this. -- View this message in context: http://camel.465427.n5.nabble.com/Strange-Error-with-XSLT-transformation-tp5730764p5730885.html Sent from th

Re: Strange Error with XSLT transformation

2013-04-15 Thread Raul Kripalani
Try enabling stream caching [1]. It's possible that the underlying stream is slurped by the tracer before it even gets to the XSLT. [1] http://camel.apache.org/stream-caching.html *Raúl Kripalani* Enterprise Architect, Open Source Integration specialist, Program Manager | Apache Camel Committer h

Re: Strange Error with XSLT transformation

2013-04-15 Thread Jothi
Sorry for the confusion. It was an editing mistake that I made. You can assume that the XML is properly formed. Has it got to do something with the camel core version that I'm using? -- View this message in context: http://camel.465427.n5.nabble.com/Strange-Error-with-XSLT-transformation-tp5730

Re: Camel routing issue

2013-04-15 Thread prabumc...@gmail.com
Hi Chris/Claus, *Question:1* I am having code like blow.based on condition i want forward into dynamic queue. .when(header(TYPE).isNotNull()) .recipientList(simple("activemq:queue:Inbound.${header.TYPE}")) i want to use .to(simple ) insight of .recipientList(simple) Please suggest is it pos