Re: HTTP Proxy Mulitpart Requests

2010-08-17 Thread Willem Jiang
Hi, I just checked the code and don't think there is a better way to do it. So please feel free to fill a JIRA and submit a patch if you have one. I'll be happy to apply it into the trunk :) Willem perch24 wrote: I am trying to create an HTTP proxy that will support mulitpart requests. I was

Re: About CAMEL-SNMP

2010-08-17 Thread Willem Jiang
Hi, camel-snmp is using snmp4j to talk to SNMP agents. According the snmp4j document[1], it should support SNMPV2. So please try it and tell me if I'm wrong. [1]http://www.snmp4j.org/ Willem S. Ali Tokmen wrote: Hello I would like to use CAMEL-SNMP. I've taken a look at the connector's do

Re: Aggregator response not being sent consistently

2010-08-17 Thread Willem Jiang
Hi, You set the aggregation completionTimeout(5000L), maybe you remove it or set a longer time. Willem vivek k wrote: I have mapped a web service as the start endpoint and am multicasting the request to multiple sources, aggregating the response and sending the consolidated response back via

Re: camel-cxfrs with custom http headers...

2010-08-17 Thread Willem Jiang
Hi, Why do you want to the custom http headers from the CXFRS endpoint? The DefaultCXFRSBinding is just copying the Http protocol related header into camel message. I think we make some changes here and pass the protocol headers into the camel message header. I filled a JIRA[1] for it. [1]

Re: About CAMEL-SNMP

2010-08-17 Thread S. Ali Tokmen
Hello Thank you for the information S. Ali Tokmen savas-ali.tok...@bull.net Office: +33 4 76 29 76 19 GSM:+33 66 43 00 555 Bull, Architect of an Open World TM http://www.bull.com On 17/08/2010 10:36, Willem Jiang wrote: Hi, camel-snmp is using snmp4j to talk to SNMP agents. According

Re: List of files from FTP when in route?

2010-08-17 Thread Claus Ibsen
On Mon, Aug 16, 2010 at 4:31 PM, Andreas Asmuss wrote: > > I'm pretty sure something like this is not easily doable. > > The use case is a route used to resend messages to an FTP (and it should be > noted if they were resent) > * Get list of messageId's from a db > * Split up in two lists, one lis

Re: Bean Language expression

2010-08-17 Thread M.Ismail
Thanks Willem it's working now. I modified it like this .choice() .when(bean("ServerBean","isLoggedIn").isNotEqualTo(constant(true))) I also tried that simple expression. .when().simple("${bean:ServerBean.isLoggedIn}!='true'") On Mon, Aug 16, 2010 at 2:18 AM, Willem.Jiang [via Camel] < ml-node+

Re: List of files from FTP when in route?

2010-08-17 Thread Andreas Asmuss
Yeah I was thinking about going down that route (no pun intended). There is still a lot of goodness in the components alone. Not as many examples of the use as when using the dsls though. The project we're starting now is basically a lot of from File/FTPS/Hibernate/Queues back and forth but with

Re: camel-cxfrs with custom http headers...

2010-08-17 Thread boday
Jiang, our client is sending some needed parameters in the HTTP header of each request and I'm trying to figure out how to retrieve them in my Camel processor. Are they accessible from the camel exchange/message now? If so, how can I retrieve them? thanks... - Ben O'Day -- View this mess

RE: Aggregator response not being sent consistently

2010-08-17 Thread Kumar, Vivek
Yeah I did that, Changed it to a higher value still facing the same issue. I can see the aggregator getting executed. When I print the exchange that I am returning from the aggregator I can see that it contains the aggregated message. But on the client end the response is not correct. What make

CXF CORBA binding problem

2010-08-17 Thread M.Ismail
Hi, I'm using camel 2.3 to communicate with a CORBA server. I have generated a WSDL from the IDLs and then the java stubs from the WSDL and I ran the generated client without a problem. The client simply attempt to create a session from and after receiving a session object it uses it to invoke s

RE: Aggregator response not being sent consistently

2010-08-17 Thread Kumar, Vivek
PFA logs (trace level) for more clarity on the problem: This log has been generated from the same code, for 2 different requests... INCORRECT RESPONSE: [17/08/10 10:17:23:023 MDT] ICL-RnR TRACE processor.DefaultErrorHandler: Is exchangeId: 8ee0190b-a07b-4ea9-88f7-2e1c58b309a3 done? true [1

direct + thread pool vs seda + concurrentConsumer

2010-08-17 Thread Charles Moulliard
Hi, Is it more interesting in term of messages processed during a period of time to use direct + thread pool instead of seda + concurrentConsumer ? ex of route from(direct:A) threads(10) to("activemq:queue:A") vs from(seda:A?concurrentConsumers=10) to("activemq:queue:A")

JMSExpiration - camel route

2010-08-17 Thread Charles Moulliard
Hi, We try to define the JMS header property JMSExpiration in a camel route like this 1000 Unfortunately, messages are created in the topic but the JMSExpiration header is not set. Can we configure the route like or do we have to use a producerTemplate where we can provide the Body an

Re: HTTP Proxy Mulitpart Requests

2010-08-17 Thread perch24
Thanks for looking into it. I have created JIRA issue CAMEL-3059 for this problem. Chris -- View this message in context: http://camel.465427.n5.nabble.com/HTTP-Proxy-Mulitpart-Requests-tp2637721p2638658.html Sent from the Camel - Users mailing list archive at Nabble.com.

Camel OSGi problems

2010-08-17 Thread Park, Edwin
Hi, I have not been able to get certain Camel features working when in an OSGi environment: * I cannot get any TypeConverters to be recognized, even though I have a META-INF/services/org/apache/camel/TypeConverter file with an entry for the package containing my annotated type converter class.

Re: Camel OSGi problems

2010-08-17 Thread Christian Schneider
Hi Edwin, I think the camel-spring component now should work in osgi. So the camel-osgi is not necessary anymore. I have not tested this myself though. In older versions of camel it was extremly important to use the OsgiDefaultCamelContext if you configure camel outside of spring you should

Re: Camel OSGi problems

2010-08-17 Thread Willem Jiang
Yes, from Camel 2.4, you don't need camel-osgi bundle or camel-spring-osgi bundle anymore. BTW, Camel 2.4 is using Spring 3.x by default and I did some JMX test on the Camel 2.5 snapshot with Spring 3.x, they look good. Willem Christian Schneider wrote: Hi Edwin, I think the camel-spring

Re: camel-cxfrs with custom http headers...

2010-08-17 Thread Willem Jiang
Hi, I created a JIRA for it, and will work on it today. Hope you can try it out tomorrow. Willem boday wrote: Jiang, our client is sending some needed parameters in the HTTP header of each request and I'm trying to figure out how to retrieve them in my Camel processor. Are they accessible fro