Re: camel-cxf: Path [myService] does not match any context

2012-06-20 Thread Thibault
Indeed, the client is written in C#, but it is not mine, I do not have the possibility to modify this code. Do you know where I can find some doc on the way to implement a filter or a handler for a cxf:endpoint ? I only saw information about interceptors like described in

Re: Camel OSGi services component

2012-06-20 Thread Christian Schneider
Hi Sergey, the component looks pretty good already. There is one thing though I would like to discuss. More or less the core of this component is the OSGi service we use to communicate between the bundles. You currently use the camel Processor interface for this. While this is quite

Re: Camel OSGi services component

2012-06-20 Thread Charles Moulliard
Excellent remark Christian. I have also another concern regrading to the component which is : Does it support TX propagation with or without Spring ? https://issues.apache.org/jira/browse/CAMEL-5368 https://issues.apache.org/jira/browse/CAMEL-5292 On Wed, Jun 20, 2012 at 10:36 AM, Christian

Re: Camel OSGi services component

2012-06-20 Thread Guillaume Nodet
I'm a bit skeptic about this component. It seems at first glance that if conflates a few things like osgi service access, multicast, etc... If the goal is to do inter-bundle communication, the new component coming from CAMEL-5370 should already do that and I don't really see the need for the

Logging causes NullPointerException

2012-06-20 Thread Alex Anderson
Hi, When my route is shutting down in Camel 2.9.2, I get a NullPointerException on line 108 of SedaConsumer. The line reads: LOG.debug(Preparing to shutdown, waiting for {} consumer threads to complete., latch.getCount()); Is it possible that latch is null? Am I doing something wrong, or

Re: Pointers on setting up Camel on JBoss 5.1 using EJBs/Hibernate

2012-06-20 Thread Claus Ibsen
On Wed, Jun 20, 2012 at 7:12 AM, vishal1981 vishal.changr...@ericsson.com wrote: Thank you for your reply. I have ended up doing the following (given my limited knowledge of J2EE) 1. Define a @Service class in JBoss to act as a wrapper to my camel context. (We are on EJB 3.0 and hence dont

Split: how to leave message untouched?

2012-06-20 Thread PJ Walstroem
hello, I split messages using from(incomingQueue) .startupOrder(1) *.split().tokenizeXML(update, dbStream)* .convertBodyTo(Document.class) .choice() .when().xpath(SUBSCRIPTION_XPATH) .to(AGGREGATE_MESSAGES) .otherwise() .to(PRODUCERS) .end(); however, when the XML does not contain neither

Re: Logging causes NullPointerException

2012-06-20 Thread Alex Anderson
This has been fixed. The issue is the seda consumer has not been started prior to shutdown. Thanks, Claus. Has the fix been released yet?

Re: Logging causes NullPointerException

2012-06-20 Thread Claus Ibsen
On Wed, Jun 20, 2012 at 2:10 PM, Alex Anderson a...@frontlinesms.com wrote: This has been fixed. The issue is the seda consumer has not been started prior to shutdown. Thanks, Claus.  Has the fix been released yet? No will be in 2.9.3 and 2.10 -- Claus Ibsen - FuseSource

Re: Split: how to leave message untouched?

2012-06-20 Thread Claus Ibsen
On Wed, Jun 20, 2012 at 1:02 PM, PJ Walstroem walst...@hotmail.com wrote: hello, I split messages using from(incomingQueue) .startupOrder(1) *.split().tokenizeXML(update, dbStream)* .convertBodyTo(Document.class) .choice() .when().xpath(SUBSCRIPTION_XPATH) .to(AGGREGATE_MESSAGES)

Re: Split: how to leave message untouched?

2012-06-20 Thread PJ Walstroem
if the filter() Predicate returns false, I assume the processing stops there? I would like to go beyond the split() and carry on with the .convertBodyTo() etc. in case the filter() returns false. I tried something like from(incomingQueue) .choice() .when().xpath(UPDATE_XPATH)

Re: Logging causes NullPointerException

2012-06-20 Thread Alex Anderson
No will be in 2.9.3 and 2.10 Nice. I notice from JIRA that there aren't many issues left; is there a date set for release?

Re: Split: how to leave message untouched?

2012-06-20 Thread Claus Ibsen
Hi Easier to crete a route for the splitter And then have another route that does the filter. And use the direct endpoint to call the other route. from X filter bla to splitme end common stuff here from direct:splitme split tokenize xml On Wed, Jun 20, 2012 at 2:55 PM, PJ

Re: Logging causes NullPointerException

2012-06-20 Thread Claus Ibsen
On Wed, Jun 20, 2012 at 2:57 PM, Alex Anderson a...@frontlinesms.com wrote: No will be in 2.9.3 and 2.10 Nice.  I notice from JIRA that there aren't many issues left; is there a date set for release? 2.10 is soon, eg a RC has been cut, then it has the testing/voting phase. When 2.10 is out,

Re: Split: how to leave message untouched?

2012-06-20 Thread PJ Walstroem
thank you, that worked perfectly. -- View this message in context: http://camel.465427.n5.nabble.com/Split-how-to-leave-message-untouched-tp5714734p5714749.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel-cxf: Path [myService] does not match any context

2012-06-20 Thread Thibault
I tested to send an Expect: 100-continue with SoapUI, and my service runs well. The error must then not come from this. Actually, I am not able to find what induce this behavior. Sometimes it works, sometimes not. I have 2 different wireshark traces that are similar and the behavior of my service

Stopping long redelivery on Camel shutdown

2012-06-20 Thread CraigLaSalle
Hi Camel Experts - I have a route that uses the HTTP component to call a web service. If the HTTP component returns org.apache.camel.component.http.HttpOperationFailedException, then the onException definition specifies to attempt redeliveries. The RedeliveryPolicy specifies a redelivery delay

Re: Single request with multiple replies over TCP

2012-06-20 Thread Alexander Kaiser
Hi Claus, thanks for your reply! The protocol is indeed line based. I actually tried to write my own codec, but without success, the decode method always was called two times, and only the result of the first call ended up in the message body. That's why I was asking for mina2 docu. Anyway, I

Re: Camel OSGi services component

2012-06-20 Thread Sergey Zhemzhitsky
Hello Charles, The component does not contain any transaction-specific or spring-specific logic. Handling of transactions should be done using transactional-client (http://camel.apache.org/transactional-client.html) EIP. Basically, if you need to call the consuming bundles in a transaction

Memory Leak

2012-06-20 Thread Jason Queen
We are running a Karaf 2.2.7 server with camel 2.8.4 routes that moves message from an ActiveMQ 5.6.0 standalone instance to a WebsphereMQ server and vice versa. After running for around 2 weeks Karaf starts throwing Out of Memory Error and has to be restarted. The routes are pretty simple and

Re: Memory Leak

2012-06-20 Thread Christian Müller
You set transacted to true but didn't provide a transaction manager. In your Camel route you also don't use transacted(). This looks false. Could you change this? Best, Christian Sent from a mobile device Am 20.06.2012 22:52 schrieb Jason Queen jason.qu...@colinx.com: We are running a Karaf

Need a example for Camel Bindy

2012-06-20 Thread arep...@hotmail.com
I am new to Camel and Camel Bindy, I am trying to understand Bindy api for parsing flat file. I need a sample code (like a main class) to test Bindy api. I have looked at the documentation and could only find an example with integration camel. -- View this message in context:

Does Camel Bindy supports text files

2012-06-20 Thread arep...@hotmail.com
Does camel Bindy supports text file (text file) processing. I am looking the documentation and I see the annotations only for CSV file and fixed length files. In my case, I need to process flat files (.txt) which have pipe separated data. -- View this message in context:

Re: Memory Leak

2012-06-20 Thread Jason Queen
Christian, Yes I will try setting it with Spring's org.springframework.jms.connection.JmsTransactionManager and the flag on the routes. We have only used WMQ up until recent, so im new to using AMQ. The WMQ components wouldnt start up without one defined until i configured it with a manager. I

Re: Camel OSGi services component

2012-06-20 Thread Sergey Zhemzhitsky
Hello Christian, Firstly I thought about some kind of indirect dependency on camel, but I suppose that such an indirection will complicate the component with copying of headers, bodies, properties, etc. from and to a camel exchange in case of duplication of camel exchange api (lightweight

Re: How to post to restful service in camel routes?

2012-06-20 Thread hairinwind
Thanks! You are right :) -- View this message in context: http://camel.465427.n5.nabble.com/How-to-post-to-restful-service-in-camel-routes-tp5714698p5714789.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel OSGi services component

2012-06-20 Thread Sergey Zhemzhitsky
Hi Guillaume, Of course if there is more convenient way to communicate between bundles there is no need in the component. On the moment of development of this component there were multiple ways to do that, for instance: 1. jms component which is rather heavyweight to do inter-bundle