org.apache.camel.spring.Main class not found exception

2011-11-26 Thread newbiee
Hi I am trying to use database (MySQL) in CAMEL (v. 2.6). I have defined my SQL using Spring DSL. When I run "mvn -e camel:run" I get the following error: Error occurred while running main from: org.apache.camel.spring.Main java.lang.ClassNotFoundException: org.apache.camel.spring.Main at

Re: Configuration for Apache camel...

2011-11-26 Thread Willem Jiang
Did you have a chance to do some performance test ? What's your XML String looks like ? If there are not much change on the XML, you can send the request direct to back end WS service. We could do some enhancement according to your requirement. On Sat Nov 26 16:07:12 2011, Omar Atia wrote:

Re: Remote Messaging Using CAMEL

2011-11-26 Thread newbiee
Calus: Thanks for the reply. I have already gone through the example "MinaTcpTest.java" given chpater 7 and other example. The examples show how the actual route works through unit testing. I understand that but when it comes to creating my own route, and executing it in real not thorugh unit te

RE: URGENT help please

2011-11-26 Thread Jose Correia
hi guys thanks, it turns out camel 2.6.0 is fine, its the dependencies that were clashing... thanks From: Hadrian Zbarcea [hzbar...@gmail.com] Sent: 26 November 2011 04:59 PM To: users@camel.apache.org Subject: Re: URGENT help please Jose, I am quite cer

Re: URGENT help please

2011-11-26 Thread Hadrian Zbarcea
Jose, I am quite certain it does work because I used to do it. What I recommend you trying is to checkout the camel-2.6.0 tag from svn [1] and do a build yourself using maven 2.2.1 (you make want to skip the tests) [2]. The whole process would take about 30 min. Use those binaries in your appl

Re: URGENT help please

2011-11-26 Thread Willem Jiang
It looks like you application war have some class which is build with JDK 1.6. Can you check if there any other third part dependency is build with JDK 1.6. On 11/26/11 4:41 PM, Jose Correia wrote: Yeh as I mentioned I did find that link myself, hence why I went back to 2.6.0. However it did

RE: URGENT help please

2011-11-26 Thread Jose Correia
Yeh as I mentioned I did find that link myself, hence why I went back to 2.6.0. However it did not work it seems, it still failed with same exception... so I went even further back to 2.5.0... hmm it seems not its in spring... even though spring 3.0.5 seems to be compatible... sucks... the battl

Re: Remote Messaging Using CAMEL

2011-11-26 Thread Claus Ibsen
Hi Camel in Action chapter 7 covers using Mina with Camel, and how to build a custom codec in Mina. The source code may be used as inspiration http://code.google.com/p/camelinaction/source/browse/#svn%2Ftrunk%2Fchapter7%2Fmina%253Fstate%253Dclosed How is the data format to the truck? Is there a

Re: Configuration for Apache camel...

2011-11-26 Thread Omar Atia
Just to assume that Mina tcp endpoint will receive maximum 1500 Byte as XML string per trx in synchronous mode ...can this be dangerous ... Sent via BlackBerry® from mtc touch -Original Message- From: Björn Bength Date: Sat, 26 Nov 2011 00:54:39 To: Reply-To: Subject: Re: Configuratio

Re: URGENT help please

2011-11-26 Thread Claus Ibsen
Hi Camel 2.6.x or older supports JDK 1.5. See here for more details http://camel.apache.org/2011/02/09/camel-270-drops-support-for-java-15.html On Sat, Nov 26, 2011 at 7:41 AM, Jose Correia wrote: > Hi all > > My maven-built application (using eclipse sprins source IDE) was being > compiled an