Camel Quartz in datasource cluster when "Jobs added with no trigger must be durable."

2013-12-16 Thread xielei
If you get the exception: org.quartz.SchedulerException: Jobs added with no trigger must be durable. Add job.durability=true in endpoint url to resolve it. For example: quartz2://examples/example?cron=0%2F10+*+*+*+*+%3F&deleteJob=false&job.name=test1&stateful=true&job.durability=true Why it isn't

Re: Camel FTP consumer + socketFactory not work correctly

2013-12-16 Thread alexey-s
Cause of the error. Method retrieves the value of the parameter and removes it from the list. The following method call will not find these parameters. Parameters were destroyed in the first call. Example FtpsEndpoint.java, line 163. / / And we want to keep data timeout so we can log

Help apache camel jdbc + active

2013-12-16 Thread RJILI Youssef
I'm new in apache camel and i have a problem about the filling of the activemq. I want to get the values from DB and filled it into activemq. My activemq is started: My code : private void fillActiveMq() throws Exception{ JndiRegistry registry = new JndiRegistry(new JndiContext()); CamelContext

How to use a new tcp connection for each message in Mina ?

2013-12-16 Thread Shing Hing Man
Hi,  I am using Camel 2.11.1 Mina, to send tcp messages to a remote load balancer. The load balancer  forwards the tcp messages to three workers in a  round robin fashion.  By default (please correct me if I am wrong), a tcp connection created by Mina will be kept alive until timeout. Consequen

Camel for XML/HTTP service end point

2013-12-16 Thread ivanyiu
Hi all, I'm new to Camel. Recently looking for a integration framework to implement an API server to external party to the company. The incoming message will be an XML/HTTP request. The server will then do some legacy authentication process, and access other HTTP API service for response if requ

Re: Help apache camel jdbc + active

2013-12-16 Thread Richard Kettelerij
As mentioned in the Camel docs for the JDBC component: This component can only be used to define producer endpoints, which means that you cannot use the JDBC component in a from() statement. So if you want to poll message from a database you shouldn't use the JDBC component but instead use either

Re: How to use a new tcp connection for each message in Mina ?

2013-12-16 Thread Claus Ibsen
There is a disconnect option you can try http://camel.apache.org/mina On Mon, Dec 16, 2013 at 11:46 AM, Shing Hing Man wrote: > Hi, > > I am using Camel 2.11.1 Mina, to send tcp messages to a remote load > balancer. The load balancer forwards the tcp messages to three workers in a > round ro

Re: How to use a new tcp connection for each message in Mina ?

2013-12-16 Thread Shing Hing Man
Hi,    I have tried  setting "disconnect" to true in the producer end point.  But I got an exception when trying to send more than 3 messages. (The stack trace and my demo program is my first email.") Shing   On Monday, December 16, 2013 10:57 AM, Claus Ibsen wrote: There is a disconnec

Does camel support SUSE linux OS?

2013-12-16 Thread Manoranjitham G
-- View this message in context: http://camel.465427.n5.nabble.com/Does-camel-support-SUSE-linux-OS-tp5744838.html Sent from the Camel - Users mailing list archive at Nabble.com.

RE: How to call remote soap web service from a application using apache camel

2013-12-16 Thread reena upadhyay
Hi Sir,Can you please show me your camel-route.xml? > Date: Sun, 15 Dec 2013 09:33:07 -0800 > From: contactr...@gmail.com > To: users@camel.apache.org > Subject: Re: How to call remote soap web service from a application using > apache camel > > Hi Reena > > U need to use CXF component for doing

Re: Does camel support SUSE linux OS?

2013-12-16 Thread Larry Meadors
Does it have a JDK? On Dec 16, 2013 4:52 AM, "Manoranjitham G" wrote: > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Does-camel-support-SUSE-linux-OS-tp5744838.html > Sent from the Camel - Users mailing list archive at Nabble.com. >

Announcing the Apache Camel Developer's Cookbook

2013-12-16 Thread jkorab
I am pleased to announce that along with Scott Cranton, we have just finished writing a book about system integration with Apache Camel. The Apache Camel Developer's Cookbook is now available for pre-order through Packt Publishing and on Amazon (very exciting). You can read the full announcement on

Re: Access another CamelContext

2013-12-16 Thread Hilderich
Many thanks! -- View this message in context: http://camel.465427.n5.nabble.com/Access-another-CamelContext-tp5744744p5744847.html Sent from the Camel - Users mailing list archive at Nabble.com.

RE: How to call remote soap web service from a application using apache camel

2013-12-16 Thread contactreji
Hi Reena The Camel-xml route file is already included in the code. Anyways its as follows * http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:camel="http://camel.apache.org/schema/spring"; xmlns:jaxws="http://cxf.apache.

Help need on exception java.lang.IncompatibleClassChangeError: org.apache.neethi.AssertionBuilderFactory

2013-12-16 Thread Bhanu
Hi All, I am trying to access the remote web services call using the CXF component by referring CXF examples.. While deploying the code in the WAS8.5 server I am getting the Error : IncompatibleClassChangeError: org.apache.neethi.AssertionBuilderFactory version. I am using camel-cxf-2.12.2.ja

Re: Help need on exception java.lang.IncompatibleClassChangeError: org.apache.neethi.AssertionBuilderFactory

2013-12-16 Thread Richard Kettelerij
Since it's a CXF issue, may I suggest you also ask this question on the users@ CXF mailinglist On Mon, Dec 16, 2013 at 2:19 PM, Bhanu wrote: > Hi All, > > I am trying to access the remote web services call using the CXF component > by referring CXF examples.. > > While deploying the code in the

Re: camel for "short" programs

2013-12-16 Thread Walzer, Thomas
Why not keep the context+routes running? If nothing´s there nothing gets processed. We transfer a gazillion files and poll like crazy (5 sec) even when nothing is expected. Who cares on a corporate network? Am 15.12.2013 um 20:11 schrieb Romain Manni-Bucau : > Not really true since it prevents f

FuseIDE in combination with routeContext elements from external files

2013-12-16 Thread Ronny Aerts
Hello camel community, I started about a half year ago using Camel in combination ActiveMQ and I feel good with this esb solution. I created all xml files and related files using an xml or text editor. I would like to switch to a more visual editor and I came across the FuseIDE. Everthing seems

Re: Apache Camel multithread processing

2013-12-16 Thread astorath
1. Altering the proc is not an option, 2. I need to create a transaction on per message basis. -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-multithread-processing-tp5741383p5744860.html Sent from the Camel - Users mailing list archive at Nabble.com.

RE: How to call remote soap web service from a application using apache camel

2013-12-16 Thread reena upadhyay
Hi, Thanks much...But I want to follow the code first approach as the apache services that I have exposed on Tomcat server are written using code first approach. So any idea how to start? > Date: Mon, 16 Dec 2013 05:19:50 -0800 > From: contactr...@gmail.com > To: users@camel.apache.org > Subject

Errorhandling, Transaction, SFTP

2013-12-16 Thread michael.lorenz
Hello Camel experts, i'm trying to setup a route for processing files. But I stuck in the details without any light at the end of the tunnel. The following setup is planned: /SFTP-Consumer -> rename(start) -> download-file -> someTrickyFileContentProcessing -> DBstatusInsert -> SFTP-rename(final)/

Re: camel for "short" programs

2013-12-16 Thread kraythe .
There is nothing that you are trying to do that camel wont do. You simply don't seem want to do it. So why waste our time? You can start it up and shut it down if thats your flavor. You dont really need to do such a thing, but if you want, go for it. You can leave it running as most of us do and us

RE: How to call remote soap web service from a application using apache camel

2013-12-16 Thread reena upadhyay
One more question here I have:Why you have used ActiveMQ here? > From: reena2...@outlook.com > To: users@camel.apache.org > Subject: RE: How to call remote soap web service from a application using > apache camel > Date: Mon, 16 Dec 2013 23:06:24 +0530 > > Hi, > Thanks much...But I want to fol

Re: Help need on exception java.lang.IncompatibleClassChangeError: org.apache.neethi.AssertionBuilderFactory

2013-12-16 Thread kraythe .
Check to see that you arent running classes compiled for 1.7 on an older VM like 1.5. If that isnt the issue, Id suggest asking CXF gurus. *Robert Simmons Jr. MSc. - Lead Java Architect @ EA* *Author of: Hardcore Java (2003) and Maintainable Java (2012)* *LinkedIn: **http://www.linkedin.com/pub/ro

Re: Does camel support SUSE linux OS?

2013-12-16 Thread kraythe .
It will run fine on any system with a JVM. So the question is what do you mean by "support" *Robert Simmons Jr. MSc. - Lead Java Architect @ EA* *Author of: Hardcore Java (2003) and Maintainable Java (2012)* *LinkedIn: **http://www.linkedin.com/pub/robert-simmons/40/852/a39

Re: Help apache camel jdbc + active

2013-12-16 Thread kraythe .
As said above. Use quartz or an AMQ event to trigger it. *Robert Simmons Jr. MSc. - Lead Java Architect @ EA* *Author of: Hardcore Java (2003) and Maintainable Java (2012)* *LinkedIn: **http://www.linkedin.com/pub/robert-simmons/40/852/a39 *

RE: How to call remote soap web service from a application using apache camel

2013-12-16 Thread contactreji
Why would you want to use a Code first approach when you are creating the client program which consumes the service? U have the wsdl of the service. So its easier to follow a wsdl first approach here. Usually we follow code first approach when we create services. Not when we consume services. For

RE: How to call remote soap web service from a application using apache camel

2013-12-16 Thread contactreji
Reena. I used Active MQ cos in my example, I am taking the input from an Active MQ queue. The use case takes an input string from queue like example "tom-cruise" .. The program separates 'tom' and 'cruise' as first name and last name and uses them to invoke the webservice which returns the Marks a

Re: Unable to stop the route

2013-12-16 Thread kraythe .
Or look into why your processor is hanging. Camel tries to gracefully shutdown so it wont kill exchanges in process until the timeout occurs. So 90% of "my context doesnt shutdown forever" are issues in your route where exchanges are hanging up. Turn on tracer and look into your processor to see wh

Re: ConsumerTemplate is not fetching data in insertion Order

2013-12-16 Thread kraythe .
Since JMS is asynchrous this is expected. Why do you need them in a specific order? If you really do then I would put an aggregator on the consuming route and write an aggregation strategy that would enforce order. *Robert Simmons Jr. MSc. - Lead Java Architect @ EA* *Author of: Hardcore Java (200

Re: camel for "short" programs

2013-12-16 Thread Romain Manni-Bucau
I dont agree, it is a common need (at least the 2 cies i did) and if the answzr is keep process running it is really disappointing...ig you have too much mem and cpu please share ;)...and being open/extensible (api) doesnt mean being enterprise ready. Another thing is it makes camel not really wel

Re: Why Pass Java object in Twitter (& other) component

2013-12-16 Thread Bruno Borges
Hi, The reason to keep twitter4j.Status as the payload is to avoid conversions on every project. In my experience, to read JSON data inside a Java application, developers tend to convert to a POJO-like object. So if this would be the common case, why not use the twitter4j.Status object? I'd say th

Web Service won't bind to external interface.

2013-12-16 Thread John Smith
Hello there, (SMX 4.5.3: Camel 2.10.7, CXF 2.6.9) Does anyone know what might be happening here: I have two supposedly identical linux servers with a camel route exposing a web service on each. Server 1 correctly binds to the external address but server2 binds to the local address only. I've als

Re: camel for "short" programs

2013-12-16 Thread kraythe .
Hmm, ok, well I will stop trying to convince people that cant be convinced. Useless tasks are not very productive. Instead I will wish you the best of luck in your solution. I guess the millions of installs of camel and the billions of exchanges processed daily will just have to own up to not being

Re: Why Pass Java object in Twitter (& other) component

2013-12-16 Thread kraythe .
The only real reason not to put an object of type X in an exchange is the need to convert in and out of the type. I dont think POJO mapping all json is a useful thing but there are many canonical data formats that can accomplish the same thing (such as a map). The only thing you have to keep in min

Re: camel for "short" programs

2013-12-16 Thread Romain Manni-Bucau
Well that's just my feedback. I don't use camel anymore ATM so I'm not that concerned and I asked only to try to get something better in batchee. BTW I saw a lot of ugly code to stop camel cause camel was not handling it itself and I'm pretty sure if I propose camel in my current job it will even

Re: camel for "short" programs

2013-12-16 Thread Walzer, Thomas
I got Camel (actually servicemix) running on a 512 mega(!)bytes Raspberry Pi and you say you cannot spare 512 MB for a JVM? Maybe you should go with Cobol & JCL. That ran on 8 megs of RAM as far as I can remember. I got servicemix running on a 64 gig memory 16 cpu 2 node cluster as well. But you

Jetty vs Http components

2013-12-16 Thread madusanka
Hi, what is the difference between jetty and http components. Which is more suitable to proxy an Axis2 web service? -- View this message in context: http://camel.465427.n5.nabble.com/Jetty-vs-Http-components-tp5744899.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel for "short" programs

2013-12-16 Thread Romain Manni-Bucau
hehe, so you allocate mem only for camel? joke apart batches can needs gigs so to avoid to buy too much machines (to be honest I dont control this part at all) batches are scheduled and each batch is a jvm (almost) since it keeps dev and deployment simple but all jvms can't run at the same time (a

"serviceClass must be specified" error in ServiceMix

2013-12-16 Thread madusanka
Hi, I'm trying to proxy a web service using the in ServiceMix 4.5.2. I have specified the WSDL url. Even then the "serviceClass must be specified" error comes. -- View this message in context: http://camel.465427.n5.nabble.com/serviceClass-must-be-specified-error-in-ServiceMix-tp5744904.html

Re: "serviceClass must be specified" error in ServiceMix

2013-12-16 Thread madusanka
My configuration http://localhost:9090/cxf-proxy"; endpointName="tns:HelloServicePort" serviceName="tns:HelloService" wsdlURL="etc/HelloService.wsdl" xmlns:tns="http://www.example.org/HelloService"/> http://camel.ap

Re: Does camel support SUSE linux OS?

2013-12-16 Thread Manoranjitham G
yes, It has JDK. -- View this message in context: http://camel.465427.n5.nabble.com/Does-camel-support-SUSE-linux-OS-tp5744838p5744914.html Sent from the Camel - Users mailing list archive at Nabble.com.

RE: How to call remote soap web service from a application using apache camel

2013-12-16 Thread reena upadhyay
Hi, As I am beginner , want to know how did you executed this through test case? > Date: Mon, 16 Dec 2013 09:48:31 -0800 > From: contactr...@gmail.com > To: users@camel.apache.org > Subject: RE: How to call remote soap web service from a application using > apache camel > > Reena. > > I used Ac

Re: Unable to stop the route

2013-12-16 Thread srikanthsettivari
Hi, We are using the concurrent consumers to process route the route looks like this. from("jms:queue:queue1 ? concurrentConsumers = 5 & maxConcurrentConsumers = 25 & maxMessagesPerTask=25") .transacted() .process(new Processmyprocess())

Re: "serviceClass must be specified" error in ServiceMix

2013-12-16 Thread Willem Jiang
You need to specify the dataformat option this time, as the default POJO dataformat need you to specify the serviceClass option. The configuration should be http://localhost:9090/cxf-proxy"  endpointName="tns:HelloServicePort"  serviceName="tns:HelloService"  wsdlURL="etc/HelloService.wsdl"  xmln

Re: Jetty vs Http components

2013-12-16 Thread Willem Jiang
http component is missing the consumer (server) part which jetty component has. camel-jetty component producer (client) also provides async processing API. If you want to build a proxy, you need to use camel-jetty component. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://

FTP to FTP file transfer through camel with Source Failover

2013-12-16 Thread kuntalc-techid
Hi,I want to transfer some files from one FTP location (Source FTP) to another FTP location (Destination FTP) through camel. Now, I know that through Camel we can handle the failover of the destination FTP server as following:public class FtpRouteBuilder extends RouteBuilder { @Override public vo

Re: Unable to stop the route

2013-12-16 Thread srikanthsettivari
We have givent the shut down strategy for the route like this: camelContext.getShutdownStrategy().setTimeout(5); camelContext.getShutdownStrategy().setTimeUnit(TimeUnit.SECONDS); camelContext.getShutdownStrategy().setShutdownNowOnTimeout(true); It is not stopping with in 5 seconds, it is taking d