Re: Embedded Broker, Trying to Load Camel

2011-08-28 Thread Taariq Levack
Hi there Your POM is mixing spring versions, you have camel-spring 2.7, camel-spring 2.8 also, and then spring 2.5.6 defined. Camel-spring depends on spring 3.0.5. So to fix you need to remove all the extra dependencies, and depend on camel-spring 2.8 Taariq On Sat, Aug 27, 2011 at 6:33 PM, su

How much mule suits for split with TTL?

2011-08-28 Thread Vitaliy Semochkin
Hello, i'm new to Camel and at the moment choosing between Mule, Apache ServiceMix or Apache Camel for solving following task: A flow starts when web service is called , N recipients ( a folder with files, web service, jms queue) receive the message Monitoring (at least logging) is needed

RE: How much mule suits for split with TTL?

2011-08-28 Thread Mathieu Lalonde
Hi, It sounds like Camel would definitely be good fit for the scenario you are describing. It's the kind of integration problem that Camel is meant for! You may be able to leverage some features of your JMS provider (have you decided on one?) for the TTL since JMS messages can have a property

How to supoort unkown/user-defined parameters in Component

2011-08-28 Thread XiaoPeng Li
Hi There are many parameters in Camel, which are used to do some configurations. However if users input a unknown parameters, the whole route will fail to start with an "Unknown parameter". For example in URI options of file component, the options are limited. If I want to add a user-defined o

Re: Embedded Broker, Trying to Load Camel

2011-08-28 Thread Willem Jiang
You need to also specify the camel-jms version, as the activemq-camel 5.5.0 will use the camel-jms 2.7.0 by default. On 8/28/11 3:19 PM, Taariq Levack wrote: Hi there Your POM is mixing spring versions, you have camel-spring 2.7, camel-spring 2.8 also, and then spring 2.5.6 defined. Camel-sp

How to test routes in exported OSGI bundles using Camel Test Framework

2011-08-28 Thread XiaoPeng Li
Hi Here is my question: I want to unit test my routes using Camel Test Framework, however these routes are exported as OSGI bundles which only contains binary classes or resources. Thus it's hard to Mock the real endpoint using Mock component, would someone give some suggestions? I am using C

Re: How much mule suits for split with TTL?

2011-08-28 Thread Willem Jiang
There are some faq entries[1][2][3] about the comparison of Mule, ServiceMix and Camel which you may take a look. [1]http://camel.apache.org/how-does-camel-compare-to-mule.html [2]http://camel.apache.org/how-does-camel-compare-to-servicemix.html [3]http://camel.apache.org/how-does-camel-compare-

Re: How to supoort unkown/user-defined parameters in Component

2011-08-28 Thread Willem Jiang
The URI options are defined per component, there is no schema or some predefine file to validate the URI option. If you want to add such a option, you need to take a look at the component code first. On 8/29/11 10:24 AM, XiaoPeng Li wrote: Hi There are many parameters in Camel, which are us

Re: How to test routes in exported OSGI bundles using Camel Test Framework

2011-08-28 Thread Willem Jiang
I don't get what you are asking for. If you want to test the route by using the Camel Test Framework, you don't need to care about the if the route is in a OSGi bundle or not. The Mock endpoint can do it job if you setup the test framework rightly. On Mon Aug 29 10:39:54 2011, XiaoPeng Li wrote

答复: How to test routes in exported OSGI bundles using Camel Test Framework

2011-08-28 Thread XiaoPeng Li
Hi Jiang Thanks for your reply. Sorry about the unclear description. I mean someone has finished a Route with some logic endpoints, and then exported it as an OSGI bundle. And if he/she wants to test the Route, how to mock the real endpoints? In a typical route test, users have to provide a ro

Re: How to supoort unkown/user-defined parameters in Component

2011-08-28 Thread XiaoPeng Li
Hi Jiang Thanks for your reply. And I have taken a look at the class FileComponent, and found that the parent class org.apache.camel.impl.DefaultComponent has a method "validateParameters" which throws a exception if parameters are invalid. I am wondering if Camel will support these unknown par

Re: Socket-based Asynchronous Calls...

2011-08-28 Thread Claus Ibsen
On Sat, Aug 27, 2011 at 10:19 AM, James Carman wrote: > Well, I can tell you that it certainly didn't seem to work the way I > need it to work.  I need a persistent connection (with automatic > reconnects).  I also need it to be in/out, but asynchronous (the > current incoming message may or may n

Re: FTP is not polling the files

2011-08-28 Thread Claus Ibsen
Hi I suggest to enable TRACE/DEBUG logging on the camel ftp and file components as well as the FTP library (Apache Commons Net) to see what is going on. Likewise you may take a look on the FTP server side, to see if there is any clues from the server logs. It could be anything from security rela

Re: TypeConverter not being loaded?

2011-08-28 Thread Claus Ibsen
Hi You got any further with this issue? Have you considered using Camel 2.8.0? It allows you to use the FQN class name of your custom type converters in the TypeConverter file, which allows Camel to do pure classpath loading of the converter, which is faster and more easier than JAR scanning. Se

Re: How much mule suits for split with TTL?

2011-08-28 Thread Freeman Fang
Hi, My comment inline On 2011-8-28, at 下午10:13, Vitaliy Semochkin wrote: Hello, i'm new to Camel and at the moment choosing between Mule, Apache ServiceMix or Apache Camel for solving following task: A flow starts when web service is called , N recipients ( a folder with files, web service