Re: camel-cxf: exception when parsing cxf:schemaLocation element | 2.6-SNAPSHOT maven problem

2010-11-10 Thread Willem Jiang
Hi, Current camel-cxf is using CXF 2.3.0. It should be better if you try to run the test with CXF 2.3.0. If you can't use CXF 2.3.0, please make sure you are using CXF 2.2.11, and there is no other version of CXF in you classpath. On 11/9/10 10:40 PM, Marco Zapletal wrote: Hi, I am

Re: Processed file being read again, and is empty.

2010-11-10 Thread Andreas A.
Hi I think disabling the lock-files would just be treating the symptoms and not the real cause. The AggregationStrategy: public Exchange aggregate(Exchange oldExchange, Exchange newExchange) { if (oldExchange == null) { MapString, byte[] messageMap = new

Re: OW2 JOnAS + Apache CAMEL integration version 1.5.5 is available

2010-11-10 Thread S. Ali Tokmen
Hello Norman Thank you for the correction. I shall be more careful next time :) 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 09/11/2010 21:13, Norman Maurer wrote: I need to correct

Re: OW2 JOnAS + Apache CAMEL integration version 1.5.5 is available

2010-11-10 Thread Norman Maurer
np ;) Bye, Norman 2010/11/10 S. Ali Tokmen savas-ali.tok...@bull.net: Hello Norman Thank you for the correction. I shall be more careful next time :) 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

Re: Processed file being read again, and is empty.

2010-11-10 Thread Andreas A.
There's a difference to using 2.4 or 2.5. With 2.5 it is always the last file of a batch that fails. When I use 2.4 it is random which file fails and the exception is different. 2010-11-10 13:33:11,139 ERROR [Camel Thread 2 - seda://AggregatorQueue]

Re: [Aggregator] Persistence ?

2010-11-10 Thread Claus Ibsen
On Wed, Nov 10, 2010 at 10:12 AM, Olivier.Roger olivier.ro...@bsb.com wrote: Hello, I made a wrong assumption about the DefaultExchange. Using the DefaultExchangeHolder makes it really easy. Great thats the point with it. Its actually used by eg camel-jms if you set option

Re: OW2 JOnAS + Apache CAMEL integration version 1.5.5 is available

2010-11-10 Thread Willem Jiang
Hi, Can I get the svn link of the code that glues the Camel and JOnAS together? It could be interesting to see OSGi work that you did :) On 11/10/10 1:41 AM, S. Ali Tokmen wrote: Hello to both CAMEL and JOnAS enthusiasts Recently, both Apache CAMEL 2.5.0 and OW2 JOnAS 5.2.0-M3 have been

Re: Camel-quickfix logging

2010-11-10 Thread Stephen Bate
Vid and Claus, QuickFIX/J currently loads the settings file by itself. The SessionSettings class interface isn't a great fit for direct usage in an IoC framework but we could investigate some type of adapter (e.g., a Spring factory bean) that would allow it to be configured and injected into the

Re: [Aggregator] Persistence ?

2010-11-10 Thread Olivier.Roger
Hello, I made a wrong assumption about the DefaultExchange. Using the DefaultExchangeHolder makes it really easy. I made a first test. It's still a bit messy but it appears to gives the expected results/behavior. About that, I saw that the HawtDB codec marshall the key into a Buffer. I did not

Re: Processed file being read again, and is empty.

2010-11-10 Thread Andreas A.
Hi, I have created a test sample that recreates this issue. Maybe I should not be using an Aggregator to solve this. Basically I just want to zip together an incoming message with a message(a response) that I generate on the basis of the incoming message. Is this a bug, or am I misusing the

Re: Custom component Vs Custom processor

2010-11-10 Thread James Strachan
On 9 November 2010 10:48, unmarshall unmarsh...@gmail.com wrote: Hi All, I have a very basic question. When do you decide to create a custom component Vs creating a custom processor. A camel component implementation has a processor either in terms of producer or consumer or both. The

Camel CXF Producer should allow setting of BindingOperationInfo

2010-11-10 Thread unmarshall
Hi All, If i have a route in which one or more external webservices are called and then i want to expose this entire route as a service then the recommended way is to add the starting endpoint as a cxf endpoint. So the route becomes: from(cxf:bean:routeEntryEndpoint)

Re: Custom component Vs Custom processor

2010-11-10 Thread Claus Ibsen
On Wed, Nov 10, 2010 at 12:24 PM, unmarshall unmarsh...@gmail.com wrote: Hi Richard, Thanks for your comment. I agree with your argument however i can very easily implement a custom processor and use it for multiple routes. A component internally calls a processor in the form of

Re: CXF http-conduit AllowChunking does not work

2010-11-10 Thread unmarshall
Hi Willem, What is the quick fix that you have made? It was not clear of whether you used HttpHeaderFilterStrategy or CxfHeaderFilterStrategy? And yes the default threshold of 4K set by CXF is fine by me and i understood the reason for it being set when i saw that. However my concern was that

Re: Custom component Vs Custom processor

2010-11-10 Thread unmarshall
Hi James/Clause, Thanks for your comments. Well i get the picture now. The confusion was essentially because everything is eventually a Processor :) Thanks again. Best Regards, Madhav Claus Ibsen-2 wrote: On Wed, Nov 10, 2010 at 12:24 PM, unmarshall unmarsh...@gmail.com wrote: Hi

Re: Processed file being read again, and is empty.

2010-11-10 Thread Claus Ibsen
Hi Can you create a JIRA ticket and link to this thread (from nabble) Then we wont forget and can look into it when we got a bit of time. On Wed, Nov 10, 2010 at 1:41 PM, Andreas A. andreasasm...@gmail.com wrote: There's a difference to using 2.4 or 2.5. With 2.5 it is always the last file of

Re: CXF http-conduit AllowChunking does not work

2010-11-10 Thread Willem Jiang
The patch is here[1] You can verify the patch by using the latest Camel 2.6-SNAPSHOT, if you are still using Camel 2.5.0, you can write a customer CXFHeaderFilterStrategy based on my patch, and configure it into you CXFEndpoint. [1]http://svn.apache.org/viewvc?rev=1032983view=rev On

Re: Processed file being read again, and is empty.

2010-11-10 Thread Andreas A.
Hi Yeah I will do that. I have observed that on Camel 2.4 the error actually comes from the Splitter exactly like in this post: http://camel.465427.n5.nabble.com/File-can-t-be-moved-or-deleted-on-Windows-td512484.html#a512484 route from uri=file:data/in2?move=backupamp;moveFailed=error

Re: CXF http-conduit AllowChunking does not work

2010-11-10 Thread unmarshall
Thanks a lot for the patch. Will test it out and let you know if it works for me. Best Regards, Madhav Willem.Jiang wrote: The patch is here[1] You can verify the patch by using the latest Camel 2.6-SNAPSHOT, if you are still using Camel 2.5.0, you can write a customer

Not able to connect Oracle queue endpoint

2010-11-10 Thread hraviprakash
Hi, I want to poll a FTP Server and push the file to oracle queue. I use spring configuration and on while running I am getting the below error. Please let me know whether the camel configurations are correct and let me know where its breaking. p/ My pom.xml includes following libraries

Re: OW2 JOnAS + Apache CAMEL integration version 1.5.5 is available

2010-11-10 Thread S. Ali Tokmen
Hi, Willem (and of course everyone else who's interested) The source code is on svn://svn.forge.objectweb.org/svnroot/jonas/sub-projects/camel-jonas5/trunk/camel-jonas5 If you don't like to browse SVN repositories with the svn:// protocol, there also is a Fisheye:

Re: Not able to connect Oracle queue endpoint

2010-11-10 Thread Claus Ibsen
Hi You got this error Caused by: java.lang.AbstractMethodError: oracle.jms.AQjmsQueueConnectionFactory.createConnection(Lj ava/lang/String;Ljava/lang/String;)Ljavax/jms/Connection; Maybe try googling a bit. And there has been several posts at Camel mailing list about how to use Camel with

Re: Not able to connect Oracle queue endpoint

2010-11-10 Thread hraviprakash
Thanks for the reply. Honestly I been googling whole day and trying out different options and still I am not able to get the oracle queue running. I will look further. Any clues on the topic would be helpful. Any clues on the code that i posted would be greatfull. -- View this message in

Re: Not able to connect Oracle queue endpoint

2010-11-10 Thread Claus Ibsen
On Wed, Nov 10, 2010 at 5:54 PM, hraviprakash raviprakash.hariram...@asia.xchanging.com wrote: Thanks for the reply.  Honestly I been googling whole day and trying out different options and still I am not able to get the oracle queue running. I will look further.  Any clues on the topic would

Re: Not able to connect Oracle queue endpoint

2010-11-10 Thread hraviprakash
I was using orai18n.jar and aqapi13.jar jars. I removed oari18.jar and used aqapi.jar instead of aqapi13.jar, this solved my issue and oracle jms received the files successfully. Thanks for the inputs. -- View this message in context:

Re: Custom Predicates definition in Spring XML

2010-11-10 Thread Christian Müller
Hello Ray! I build a small example and it works. If you like, I can send you my example Eclipse project. {code:title=MyPredicate.java} public class MyPredicate implements Predicate { public boolean matches(Exchange exchange) { return true; } } {code} {code:title=MyBean} public