Re: DeadLetterChanel does not handle exception.

2013-04-23 Thread aram
I tried it on a camel 2.11.0 , but there is the same problem : java.lang.AssertionError: mock://log:send Received message count. Expected: 4 but was: 28 -- View this message in context: http://camel.465427.n5.nabble.com/DeadLetterChanel-does-not-handle-exception-tp5731073p5731319.html Sent

camel headers issue

2013-04-23 Thread pradeepbill
Hello fellow Camel Riders, I am using camel proxy for sending and receiving soap requests, I was successful in sending/receiving the soap requests , but camel is changing the soap headers in the outbound messages, Please see below samples. I am using dataformat as MESSAGE, is there

Re: MinaUdpProtocolCodecFactory

2013-04-23 Thread Thomas Termin
Done. https://issues.apache.org/jira/browse/CAMEL-6302 On Mon, Apr 22, 2013 at 11:18 AM, Claus Ibsen claus.ib...@gmail.com wrote: Hi Yeah udp should keep the data as byte[]. Fell free to log a JIRA and work on a patch. eg just change to use byte[] as that makes the most sense for UDP.

Bindy

2013-04-23 Thread sandeep
I am trying to convert an CSV file to XML route look like BindyCsvDataFormat bindy = new BindyCsvDataFormat(UspsTrackRecord.class.getPackage().getName()); from(fromLocation) .unmarshal(bindy) .marshal() .xstream() .to(localDir); but i get error: 12:48:08,965 ERROR

Re: Dispatch Array 2 dimension to many routes

2013-04-23 Thread kikou1984
Hi , I tried the splitter , like this : public ArrayListArrayListlt;String simule_split_Many_Output( Exchange exchange) { ArrayListArrayListlt;String lstOflst = new ArrayListArrayListlt;String(); ArrayListString lstOne = new

Re: Dispatch Array 2 dimension to many routes

2013-04-23 Thread Claus Ibsen
Hi Sometimes its easier to just use a camel bean / processor. And then use the producer template to send the messages to other routes. http://camel.apache.org/producertemplate.html You can also dependency inject the destinations in the bean http://camel.apache.org/pojo-producing.html On Mon,

Re: 'fire and forge' from InOut exchange

2013-04-23 Thread valerian.merkling
Hi ! I'm not sure to understand what you mean brnzn1 wrote and send the response message to the replyTo queue without waiting for nonBlocking to complete. If 'nonBlocking' is not over, how can you have it's response ? Anyway I think you can do this :

Re: Bindy

2013-04-23 Thread Steve Forsyth
Try dropping the .getPackage().getName() BindyCsvDataFormat(UspsTrackRecord.class); On Apr 23, 2013, at 12:30 AM, sandeep sandy.morp...@gmail.com wrote: I am trying to convert an CSV file to XML route look like BindyCsvDataFormat bindy = new

Re: Bindy

2013-04-23 Thread sandeep
I did tried that also. problem is the path is create to look up package get wrong. it is supose to be like C:\Tool\JBoss\jboss-eap-6.0\standalone\tmp\vfs\deploymente15f1c1683b39c76\. but path the classLoader.getResources returns is something like C:\Tool\JBoss\jboss-eap-6.0\bin\content

Re: Dispatch Array 2 dimension to many routes

2013-04-23 Thread kikou1984
Yesss it works with the wire tap. Thxs from(direct:begin) .bean(BeanSimu.class, simule_split_Many_Output) .wireTap(direct:routeA, simple(${body[0]})) .wireTap(direct:routeB, simple(${body[1]})) .to(mock:result); Why methods(wire tap) are deprecated ?

Re: Bindy

2013-04-23 Thread Claus Ibsen
Hi Sounds like you need to use the jboss class resolver http://camel.apache.org/camel-jboss.html This may be needed to let bindy discover the model classes. On Tue, Apr 23, 2013 at 1:44 PM, sandeep sandy.morp...@gmail.com wrote: I did tried that also. problem is the path is create to look up

Problems with sftp in Camel 2.11.0

2013-04-23 Thread Bengt Rodehav
I just upgraded from Camel 2.10.3 to 2.11.0 and I now cannot get my sftp routes to work. I used to specify the sftp endpont as follows: sftp://myUser@myServer//subdir?password=myPasswordstepwise=false This worked fine in Camel 2.10.3. Note that I had to use double / to get it to work. Using

not getting combined response from aggregator

2013-04-23 Thread bhushand
Hello All I am trying to use splitter. I am using splitter first time. Following is my route route from uri=direct:start/from split strategyRef=MyAggregationStrategy parallelProcessing=true method bean=myBean method=splitMessage/ to uri=bean:myService?method=service1/

Re: Bindy

2013-04-23 Thread sandeep
I got some sample but all in xml spring context. But I am working in DSL no xml. Please let me know how to do that. -- View this message in context: http://camel.465427.n5.nabble.com/Bindy-tp5731324p5731364.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Bindy

2013-04-23 Thread sandeep
sorry for reposting but previous post not getting accepted by mailing list Hi Claus Ibsen, classloder is decided by BindyCsvDataFormat class public Object unmarshal(Exchange exchange, InputStream inputStream) throws Exception { BindyCsvFactory factory =

Re: Bindy

2013-04-23 Thread sandeep
Hi Claus Ibsen, classloder is decided by BindyCsvDataFormat class public Object unmarshal(Exchange exchange, InputStream inputStream) throws Exception { BindyCsvFactory factory = (BindyCsvFactory)getFactory(*exchange.getContext().getPackageScanClassResolver()*); can you let me know how

modifying endpoint

2013-04-23 Thread Vas
Hi, I have two routes in camel context. first route is for sync and second for async. i want the response from first route only(from first.jsp) camel:camelContext route id=first from uri=jetty:http://0.0.0.0:8192/test// setExchangePattern pattern=InOut/

Re: Problems with sftp in Camel 2.11.0

2013-04-23 Thread Chris Wolf
What happens if you specify the username as query parameter? sftp://myServer/subdir?username=myUserpassword=myPasswordstepwise=false (I didn't upgrade, so I can't try it) On Tue, Apr 23, 2013 at 8:33 AM, Bengt Rodehav be...@rodehav.com wrote: I just upgraded from Camel 2.10.3 to 2.11.0 and I

Re: cxf producer needs a break?

2013-04-23 Thread Smith-John
@Willem: Hi, I changed the route like you said. But this doesn't change anything concerning the problem. I created a Issue [1] and added everything needed to check the problem: the Java class + wsdl to start the camel route a SoapUI project for testing it. [1]

Getting a JMS RA-managed ConnectionFactory on JBoss-6.1.0

2013-04-23 Thread Chris Wolf
I am using the jms:// component in a Spring DSL route in JBoss6. I want to publish and subscribe to a topic. If I package my Camel in a web app, it cannot do a JNDI lookup on java:JmsXA, which is the JMS connection factory managed by a resource adapter. If I package the same code as just a

Re: Problems with sftp in Camel 2.11.0

2013-04-23 Thread mdo
BTW: I'm using URIs like this successfully with 2.11: sftp://192.168.1.2:22//home/user/ sftp://localhost//tmp/subdir/ Both being absolute paths. Login name and passwords appended along with other options. Regards, mdo. -- View this message in context:

Testing camel component resolving in OSGI with Pax Exam

2013-04-23 Thread lleclerc
Here is my complete test class : http://pastie.org/private/19vmbn8hb3sdwxawy5qxg My test consist of creating a quartz endpoint. All my bundle are state 32 (Started) Bundle 0 org.eclipse.osgi State is 32 Bundle 1 org.ops4j.pax.exam State is 32 Bundle 2 org.ops4j.pax.exam.inject State is 32

can you make PropertyPlaceholder resolution aware of its CamelContext?

2013-04-23 Thread codemonkey73
I'm trying to make properties that are used in PropertyPlaceholders configurable, so they can be updated and stored in a database, and then the database property values will be checked first. It looks like Spring 3.1's PropertySources might help with that. I just learned about those, but up until

Re: Testing camel component resolving in OSGI with Pax Exam

2013-04-23 Thread Andreas Gies
Hi, Have you considered using the camel-blueprint-testing support ? This is what I use to test my Camel based OSGi bundle and that gives me good results. Best regards Andreas Andreas Gies WoQ ­ Way of Quality UG http://www.wayofquality.de Geschäftsführer CTO eMail:

Re: Problems with sftp in Camel 2.11.0

2013-04-23 Thread Bengt Rodehav
Thanks for both your answers Chris and mdo, I will try to move the username as you both suggest but according to the documentation this should still be valid syntax. What puzzles me is the ...Cannot change directory to: // since it sounds like Camel is actually trying to change directory

Re: JPA Component Behavior

2013-04-23 Thread Christian Jacob
Hi Claus,I'm very eager to get that feature, too. My requirements for a new project are: run on every 1st of a month (or some other Quartz clause) and then select all objects with status = 0 have a user interface for an administrator in which he/she can customize some search arguments such as a

CachedOutputStream error when call endpoint from a recipientList

2013-04-23 Thread Chubutin
Hi, i developed a Route that calls a recipientList and then a XSLT transformation. When I try the route without the recipient list (the URI of the endpoint in the route) the route works. But when I call the recipient list the route returns the error 18:35:32,486 | ERROR | qtp4206788-62|

Camel DSL - setHeader and Aggregate2 strategy

2013-04-23 Thread RTernier
I'm trying to find how to set the header to a UUID before I split an XML Message and send the results back to an Aggregator. This is erroring on the lines below. I'm not sure how to use setHeader and pass in a value from a Bean. Also, should I be setting the Header on the main XML before it gets

Multiple To's - Take results of first and pass to the 2nd

2013-04-23 Thread RTernier
Camel is shooting me an error on this one: What I want this to do: 1) XML Message is sent to route. 2) XML MEssage sent to HL7V3GetDemo. 3) Results from #2 logged and sent to the direct:Aggregate I do not want to use Multicast as I do not want the same message used in both cases. I have

Re: JPA Component Behavior

2013-04-23 Thread Chris Wolf
If you look back at the entire thread: http://camel.465427.n5.nabble.com/JPA-Component-Behavior-td5725781.html#a5731377 You can see that I solved this requirement by implementing a custom PollingConsumerPollStrategy called you use that plus configure the JPA consumer with startScheduler=false

Re: not getting combined response from aggregator

2013-04-23 Thread bhushand
Can anyone help me please Thanks Bhushan -- View this message in context: http://camel.465427.n5.nabble.com/not-getting-combined-response-from-aggregator-tp5731362p5731386.html Sent from the Camel - Users mailing list archive at Nabble.com.