Re: Transactional test assertions timing issue

2013-06-05 Thread Claus Ibsen
Hi Yeah you would need to add a little delay to give time for the TX to commit. As when notify builder matches there is still a little work going on in the consumer still, eg (from activemq). Ideally if the TX manager has some listener api you can hook into, then you can check after it has

Re: A little problem with annotation @CsvRecord

2013-06-05 Thread Claus Ibsen
Hi Its hard to tell when its OSGi. If you have an unit test or run your app outside OSGi and then see if it works. Then you know its when you deploy and run in OSGi there is something wrong. And you can also try upgrading the Camel version / ESB version. Or try patching the code yourself if

Re: Issues with ftp in the 2.11.0 version of camel.

2013-06-05 Thread Claus Ibsen
Hi Can you try downgrading to commons net 3.1. There is a bug in 3.2 that was causing problems for working with some FTP servers. But it may not be related to this issue though. And how many files do you have on the remote FTP server? And you can set eagerMaxMessagesPerPoll=true as you do not

Re: Using jetty component for http producer : Weird behavior

2013-06-05 Thread Claus Ibsen
Hi Follow the advice on this page http://camel.apache.org/support On Wed, Jun 5, 2013 at 7:02 AM, anand_tech anand29...@gmail.com wrote: Someone, any pointers over here ?? -- View this message in context:

Re: Kryo Data format

2013-06-05 Thread Claus Ibsen
Hi This seems cool. Sure like faster serialization libraries than what we have in the JDK. And its pure Java based, where as eg google protobuf is a bit more complicated to use. Keep on hacking on it. And as you may know we love contributions http://camel.apache.org/contributing.html On Tue,

Re: Setting a requestTimeout for a shared/Exclusive reply does not take effect for multiple concurrent users

2013-06-05 Thread Claus Ibsen
Hi Read this page how to get help and what you can do yourself, and what detail to report for better chance of getting help http://camel.apache.org/support On Tue, Jun 4, 2013 at 5:00 PM, Siva B kbsiva...@yahoo.com.sg wrote: Setting requestTimeout of 1 second and receiveTimeout of 250

Re: Kryo Data format

2013-06-05 Thread Cristiano Costantini
I lack of time but I would love to contribute; I will check the link and hope to find an easy way to help ;-) For sure, it is a good starting point that there is interest from the community. But first I will try to use it with camel as a http://camel.apache.org/custom-dataformat.html Regards,

Re: references in Camel using Blueprint.

2013-06-05 Thread Babak Vahdat
Hi Bruno Welcome to the Camel community! AFAIK this a known limitation by Blueprint and there're open JIRA tickets around reporting this. There's a solution I've seen on the SMX user forum which I think can help in your case:

Re: https4(Apache Camel 2.10.3) component option httpClientConfigurer for SSL is not working when i have two different configure for two different route

2013-06-05 Thread Claus Ibsen
The same http4 component does not support multiple sslContextParametersRef. We have added a validation in the next releases about that. If you want 2+ sslContextParametersRef then you need one per different http4 component See the bottom of this page showing how to http://camel.apache.org/http4

ONC-RPC

2013-06-05 Thread Sven Bauhan
Hi, I wonder if there is a Camel endpoint for ONC-RPC (also called SUN RPC). I found endpoints for XML-RPC and SOAP but no one for ONC-RPC Can someone tell me, if such an endpoint exist or is planned? Perhaps I could use one protocol definition in Apache MINA, but I did not find it there

Invoking an external web service

2013-06-05 Thread Jose
Hi, I am trying to invoke an external webservice from Camel. I have just the client classes as the webservice is provided by an external provider. I have a few questions about how to configure this endpoint in camelContext. So far I have jusT declared the external endpoint as follow:

Re: Camel without Spring. Limitations?

2013-06-05 Thread Jose
Hi, thank you for your replies. I have eventually managed to use Camel with Spring so I could use all the functionality. Thanks a lot. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-without-Spring-Limitations-tp5733686p5733851.html Sent from the Camel - Users

RE: how to pass an XML string to the unmarshal in the route definition

2013-06-05 Thread Vegi, Vamsi (MAN-Corporate-CON)
Willem I am not trying to unmarshal the whole HashMap I need to unmarshal only one of the item in the Hashmap I do know the key, So I am looking for something like below from(INB_Q_URI) .routeId(ROUTE_ID_INB_RID) .log( START -)

Re: how to pass an XML string to the unmarshal in the route definition

2013-06-05 Thread Claus Ibsen
Then you need to do a message transformation first transform simple${body.myHashMap['OBJ_FOR_UNMARSHAL']}/simple /transform unmarshal ... On Wed, Jun 5, 2013 at 3:27 PM, Vegi, Vamsi (MAN-Corporate-CON) vamsi.v...@manheim.com wrote: Willem I am not trying to unmarshal the whole HashMap I

Re: Invoking an external web service

2013-06-05 Thread Jose
Hi Charles, thank you very much. It did work. Now I am getting the following error: Failed to create Producer for endpoint: Endpoint[cxf://bean:fooService]. Reason: org.apache.cxf.service.factory.ServiceConstructionException: Could not find definition for service fooService In the wsdl I have:

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

2013-06-05 Thread sunita
Hi William, Thanks for your response. I was initially posting only on camel user group but since I did not get any responses to my earlier posts, I decided to post on both since it may have different audiences. Do you know why I am getting this error when I wrap the response in soap envelope. I

Re: Setting a requestTimeout for a shared/Exclusive reply does not take effect for multiple concurrent users

2013-06-05 Thread Siva B
*OS *- RHEL 5.3 *Tomcat *- 7.0.39 *JDK *- 1.7 *Spring *- 3.0.2 *WebSphere MQ* - 7.0 *Camel version* - 2.10.4 *Component/s:* camel-core, camel-jms -- View this message in context:

Restful services using camel

2013-06-05 Thread Tarun Kumar
I am writing restful webservices using camel cxfrs components. I want to expose 10 services and my service interface looks like this: @Path(/employees) public interface EmployeeService { @Post @path(/account) someMethod1(); @Get @Path(/books) someMethod2(); ... ... } For each endPoint, i

Splitter with inner aggregator

2013-06-05 Thread swwyatt
Hi, I have a route similar to that below. I'm reading an XML file. The splitter bean returns an IterableMyObj. When the iterator next method is called, a MyObj instance is created from the XML. The inner aggregator is correlating object with the same id and once 10 MyObj are collected the proc

Re: Camel Jetty - Performance Issue

2013-06-05 Thread Christian Müller
Yeah, I thought the same... Best, Christian Sent from a mobile device Am 03.06.2013 19:56 schrieb boday ben.o...@initekconsulting.com: on a side note, you should reuse the ProducerTemplate in your processors across subsequent requests... minimize calls to context.createProducerTemplate() by

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

2013-06-05 Thread Willem jiang
Hi, I just found you didn't specify the wsdlURL or serviceClass attributes in you CxfEndpoint element. They are useful when CXF is trying to build up ServiceModel for handling the request and response. Can you add either one of them to your CxfEndpoint definition? -- Willem Jiang Red Hat,