Re: Replacing standalone client with generic one in cxf component

2013-07-17 Thread Willem jiang
Hi, What's the operation that your standalone client is invoking? If you know which operation your client should invoke, you can set it throughout the camel-cxf endpoint uri. If you want to change it dynamically, you can setup the message header per invocation. -- Willem Jiang Red Hat, Inc.

Re: problem processing CSV to Database (camel-csv and camel-sql)

2013-07-17 Thread Claus Ibsen
Hi I think CSV unmarshal to a List so you would need to turn that into a Map. ${body[0]} On Thu, Jul 18, 2013 at 2:24 AM, vs.souza wrote: > Hello guys, > > I built the following camel route using spring dsl: > > U

Re: camel error with simple program with camel-core-2.11.1.jar

2013-07-17 Thread Claus Ibsen
Hi Try with ctx.getProperties().put(Exchange.LOG_DEBUG_BODY_STREAMS, "true"); On Thu, Jul 18, 2013 at 7:07 AM, vinay wrote: > Hi All, > > I am new to camel, here is what I am trying and is giving me exception. > > $groovy -v > Groovy Version: 2.1.3 JVM: 1.7.0_11 Vendor: Oracle Corporation O

Re: Exceptions when aggregating messages

2013-07-17 Thread cristisor
Thanks for making things more clear. I read the documentation and I understand your point. -- View this message in context: http://camel.465427.n5.nabble.com/Exceptions-when-aggregating-messages-tp5735523p5735830.html Sent from the Camel - Users mailing list archive at Nabble.com.

camel error with simple program with camel-core-2.11.1.jar

2013-07-17 Thread vinay
Hi All, I am new to camel, here is what I am trying and is giving me exception. $groovy -v Groovy Version: 2.1.3 JVM: 1.7.0_11 Vendor: Oracle Corporation OS: Linux $groovy CallCallista1.groovy give following exception... [main] INFO camelLogger - Exchange[ExchangePattern:InOut,

problem processing CSV to Database (camel-csv and camel-sql)

2013-07-17 Thread vs.souza
Hello guys, I built the following camel route using spring dsl: UserCSVToMySQL.xml http://www.springframework.org/schema/beans"; xmlns:camel="http://camel.apache.org/schema/spring"; xmlns:xsi="http://www.w3.

Replacing standalone client with generic one in cxf component

2013-07-17 Thread cannykanna
HI I have a wsdl with has many operations and input parameters defined for each. Now I wrote a standalone client with talks to my endpoint which exposes its services through webservices. This client talks with this endpoint and only one operation is defined in it. Now What I am looking is as follo

Re: Error in camel-bindy

2013-07-17 Thread Jothi
As I understand from Claus's message is that it is not possible to specify the class name to the BindyCsvDataFormat as this feature seems not to be available with the camel version that I'm using! -- View this message in context: http://camel.465427.n5.nabble.com/Error-in-camel-bindy-tp5735580p

Re: Error in camel-bindy

2013-07-17 Thread rameshkumar.m
Hi Jothi,You can do like this.*.unmarshal(new BindyCsvDataFormat(de.test.model.MyModel.class);* -- View this message in context: http://camel.465427.n5.nabble.com/Error-in-camel-bindy-tp5735580p5735825.html Sent from the Camel - Users mailing list archive at Nabble.com.

Message Processing Performance while splitting

2013-07-17 Thread Vic
I am processing big file - line by line with camel. The average amount of processed messages per second is 30k. When I do the same in java using BufferedReader - the average amount of processed messages per second is 500k. I am processing the same file. This is significant performance lost. Am I do

camel-netty consumer with multicast address

2013-07-17 Thread samel
Hello all, I'm using Camel 2.11.0 and trying to use camel-netty to listen on a true multicast UDP address (224.0.0.0 through 239.255.255.255 - http://en.wikipedia.org/wiki/Multicast_address). I don't see any exception but I'm unable to get an messages through either. However, if I use non-multica

Groovy script synchronized issue with 2.10.x and 2.11.x prevents camel groovy script for High Concurrenc

2013-07-17 Thread apatel
In below code why method is synchronized? This prevents camel groovy script for High Concurrency. protected synchronized Object evaluateScript(Exchange exchange) { try { getScriptContext(); populateBindings(getEngine(), exchange); addScriptEngineArgumen

@XmlElement overriding @JsonProperty

2013-07-17 Thread Craig Tataryn
I'm working on a little route for my blog feed, essentially I have a route that looks like this: from("rss:...") .marshal().rss() .split(xpath("//item")) .unmarshal(jaxb) //do stuff to my Article object .marshal().json(JsonLibrary.Jackson) My problem is, when I marshal my model object to json I d

Re: Exceptions when aggregating messages

2013-07-17 Thread Christian Müller
Check out the Camel JMS page. Look for the transferExchane option. Best, Christian Am 17.07.2013 07:19 schrieb "cristisor" : > I'm afraid that I don't understand which option you are talking about. And > how can I "care about the the property value which could not be > serialized", > please expla

jsf and apache camel

2013-07-17 Thread lassesvestergaard
Hi all. I'm learning camel and jsf at the same time. What I want to do is to create a jsf web application where it is possible to create, edit and delete routes. This means that I need to have camel running in the background for ever. I want to put camel inside a war, and when the application is d

File append issue for an SFTP producer

2013-07-17 Thread lumi velicanu
Hi, I am experiencing a file append issue with a sql consumer and an sftp producer. On the sftp producer I have fileExist=Append but instead of appending to the file, it does an override. The problem seems to be on the sftp side because when I test it with ftp it works correctly. This happens for

Re: Incoming message from a JMS queue need to be processed in parallel but keep the ordering of messages

2013-07-17 Thread Raul Kripalani
Hi, Looks like I got things a bit mixed up with the Synchronization usage in the File consumer for some reason. You're right, Spring JMS provides the JmsTransactionManager and we leverage that in this case instead of reinventing the wheel. So as long as the endpoints along the route share the sam

Re: Get the exception org.apache.camel.RuntimeCamelException: java.lang.RuntimeException: Protocol mismatch for port 443: engine's protocol is http, the url protocol is https

2013-07-17 Thread cannykanna
Hi Christian, Mueller CamelCXFProviderRouteConfig.xml TesterBean.java I am attaching the config xml and testerBean class. but I somehow feel, the

Re: Run once a month Camel Bean

2013-07-17 Thread kikou1984
Ok thxs ! i found it :) -- View this message in context: http://camel.465427.n5.nabble.com/Run-once-a-month-Camel-Bean-tp5735712p5735800.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Route failure on startup for SMPP consumer if SMSC down

2013-07-17 Thread JasonN
"Would like to get some more thoughts whether we should add this feature or not." I would see this as a big improvement for the smpp component. Thanks. -- View this message in context: http://camel.465427.n5.nabble.com/Route-failure-on-startup-for-SMPP-consumer-if-SMSC-down-tp5730666p5735799.

Re: Incoming message from a JMS queue need to be processed in parallel but keep the ordering of messages

2013-07-17 Thread gquintana
Hi Raúl, In a non XA world, how does this Unit of work concept mix with Spring's management of transaction and resources (connections) which are bound to thread by the TransactionSynchronizationManager? -- View this message in context: http://camel.465427.n5.nabble.com/Incoming-message-from-

Re: REST best practices

2013-07-17 Thread humayun0156
Yes, i've solved my problem. -- View this message in context: http://camel.465427.n5.nabble.com/REST-best-practices-tp5735585p5735785.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Hessian support (from/to endpoints)

2013-07-17 Thread Willem jiang
Hi, I don't think we have the camel-hessina component, and we love contribution, please share the idea with us :) I think you can take a look at the camel-xmlrpc[1] component I just have quick question of the methodName option. What's the prepose of methodName? If you need to specify the method

Re: How to recover corrupted HawtDB files

2013-07-17 Thread Claus Ibsen
What version of Camel and HawtDB are you using? To try to recover you would possible need to write some java code with the HawtDB API to load the corrupted file(s) and peak inside. Down the road we recommend using camel-leveldb instead of camel-hawtdb. This uses LevelDB as the store instead which

Hessian support (from/to endpoints)

2013-07-17 Thread flangel
Hi, what is the current state of hessian support. I like to use Hessian as a "from" endpoint, i.e. start the route by exposing an http endpoint and decoding the payload. Something along the line of from ("hessian:\\uri). Currently, i am using an http endpoint and add a processor that decodes the

Re: Testing a transacted route with CamelTestSupport

2013-07-17 Thread roman.stumm
When I write a unit-test or use a test-spring.xml, I can use my DummyTransactionManager like this: or programmatically: class MyTest extends CamelTestSupport { @Override protected CamelContext createCamelContext() throws Exception { CamelContext context = new DefaultCamelContext(c

Re: Turning off warning message in ObjectHelper

2013-07-17 Thread Claus Ibsen
Hi Thanks for reporting. I have logged a ticket to get this improved/fixed https://issues.apache.org/jira/browse/CAMEL-6553 On Sun, Jul 14, 2013 at 12:19 PM, kmonging wrote: > While upgrading from camel 2.10.4 to camel 2.10.5, i noticed some additional > warning messages in the ObjectHelper clas