Re: is there a way to change the default properties of a camel component?

2015-06-09 Thread Claus Ibsen
Hi Sometimes a component allows to configure an option on the component level, that endpoints inherited by default. But its not all components that can do that. And to configure options on components you need to create an instance of it, and configure it the usual java / xml way. On Wed, Jun 1

Re: Transactional Client in Camel

2015-06-09 Thread David Karlsen
You can span routes if it happens synchronously (same thread) that is using direct:endpoint between them 10. jun. 2015 07.31 skrev "yogu13" : > any one used transactions before with jms ? did that span across routes or > was limited to the route in which it was started ? > > Regards, > -Yogesh > >

Camel FTP2 component throws inputstream closed Exception

2015-06-09 Thread V4Vaithi
I am facing issue when I tried to transfer large files through SFTP. 2015-06-04 05:08:19,200 [ax070.abc.com:22//tmp/]] WARN SftpConsumer - Consumer Consumer[sftp://devs...@appax070.target.com:22//tmp/?fileName=sftp_app_wap_trans_test.xlsx&password=xx&stepwise=false&throwEx

Re: Transactional Client in Camel

2015-06-09 Thread yogu13
any one used transactions before with jms ? did that span across routes or was limited to the route in which it was started ? Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Transactional-Client-in-Camel-tp5768012p5768044.html Sent from the Camel - Users mai

Re: is there a way to change the default properties of a camel component?

2015-06-09 Thread yogu13
One way is to extend the component and the default the configuration value to what you want it to be. Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/is-there-a-way-to-change-the-default-properties-of-a-camel-component-tp5767985p5768045.html Sent from the Ca

Re: Camel Restlet

2015-06-09 Thread Gnanaguru S
Not sure how much this will help, but you can always do this ${headers}. Which will print all the headers available for you ! Cheers Guru -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Restlet-tp5767988p5768043.html Sent from the Camel - Users mailing list archive at

Re: https4 2.15.2 not recognizing my httpClientConfigurer endpoint option

2015-06-09 Thread jspyeatt
My class that implements HttpClientConfigurer now looks like this from your suggestions: and it still doesn't work. My createRegistry() looks like this: @Override I added a jndi.properties file that looks like this: My uri now looks like this https4://172.30.228.23:8444/InformaCast/REST

Re: Is there a tools to convert java dsl to xml ?

2015-06-09 Thread Claus Ibsen
Hi At runtime you can output any Camel route as xml, there is api on camel context or jmx api to do so. This is what tooling such as the camel commands / hawtio etc uses to visualize the running routes. On Tue, Jun 9, 2015 at 11:11 AM, cloud wrote: > hi team, > > Is there a tools to convert jav

Re: Camel Restlet

2015-06-09 Thread jkorab
Hi Reji, contactreji wrote > Suppose I hit the endpoint with * > http://localhost:8181/cars/100?color=red&model=2015 * > with a http GET method, how do I access the * > color=red * > data in camel exchange. where does it get stored? HTTP consumer endpoints such as Jetty (and I am guessing th

Re: Is there a tools to convert java dsl to xml ?

2015-06-09 Thread jkorab
I should also say that there is a runtime tool that allows you to see the XML of running routes - HawtIO (http://hawt.io). Jakub -- View this message in context: http://camel.465427.n5.nabble.com/Is-there-a-tools-to-convert-java-dsl-to-xml-tp5768015p5768024.html Sent from the Camel - Users mai

Re: Is there a tools to convert java dsl to xml ?

2015-06-09 Thread jkorab
Hi, cloud wrote > Is there a tools to convert java dsl to xml ? No, although you can see an XML representation of a route defined in any DSL (Java, XML, Groovy, Scala etc.) by calling a method called dumpRouteAsXml() when looking at it though JMX. cloud wrote > Is every java dsl code have

Re: Is there a tools to convert java dsl to xml ?

2015-06-09 Thread Wilson MacGyver
I'm the opposite. I avoid XML, and use Java DSL exclusively. I really like the way it reads, and easy to test using camel test On Tue, Jun 9, 2015 at 10:48 AM Dan Moore wrote: > I also am a new user and tend to like XML. Maybe that will change as I get > used to Camel. > > I don't know of any au

Re: Is there a tools to convert java dsl to xml ?

2015-06-09 Thread Dan Moore
I also am a new user and tend to like XML. Maybe that will change as I get used to Camel. I don't know of any automated way, but you can get edit access to camel and make the changes yourself: http://camel.apache.org/how-do-i-edit-the-website.html Dan On Tue, Jun 9, 2015 at 3:11 AM, cloud wrot

Re: https4 2.15.2 not recognizing my httpClientConfigurer endpoint option

2015-06-09 Thread Willem Jiang
I just checked the code of your HttpClientconfigurer, you didn’t set the httpClientBuilder with the SSLConnectionSocketFactory instance that you just created. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese

Re: Queue and database transaction, rollback?

2015-06-09 Thread blom
I guess the easiest would be if it could actually just rollback to a defined DLQ, but how? -- View this message in context: http://camel.465427.n5.nabble.com/Queue-and-database-transaction-rollback-tp5768020p5768021.html Sent from the Camel - Users mailing list archive at Nabble.com.

Queue and database transaction, rollback?

2015-06-09 Thread blom
Hi, I don't understand how this is supposed to work, because it does simply not. onException(StoreDataException.class) .useOriginalMessage() .handled(true) .to(errorQueue) .markRollbackOnly() ; Since it's rollbacking, it rollbacks the message to th

Re: XSL stylesheet from database

2015-06-09 Thread est412
I might be wrong, but recepientList EIP deals just with dynamic uri construction (i.e. dynamic endpoint selection, uri parameters setting etc.), isn't it? As to my question, I would like to know, is there any way to make xslt endpoint use xsl stylesheet body (not just filename, but body itself as S

Too many connection in TIME_WAIT when tempfilename is set in the FTP producer URI.

2015-06-09 Thread Himanshu Mittal
So many connections remain in TIME_WAIT state while configuring a FTP producer route with tempfilename property in FTP producer. I am using *Producertemplate.sendBodyAndHeader(producerURI, Exchange.FILE_NAME, fileName)* to write file to destination. *Producer URI* : ftp:?password=RAW(PASSWORD

RE: JMS MQ performance improvement

2015-06-09 Thread yogu13
Hello, you could try followign things 1. As as transacted is false you can try removing transactionManager which is being set 2. for try setting the cacheLevelName to CACHE_CONSUMER or CACHE_SESSION for higher throughput 3. Enable asyncConsumer if async processing of exchange

Is there a tools to convert java dsl to xml ?

2015-06-09 Thread cloud
hi team, Is there a tools to convert java dsl to xml ? Is every java dsl code have a equal xml counterpart? When I am reading the camel document's , there are many snippets code that writen by java dsl . As a new user , sometimes I have to use xml instead of java dsl . In fact , I want to

Re: deleting jms queue

2015-06-09 Thread yogu13
Hello, Depends on the support provided by the JMS Provider for deleting... for e.g. in AMQ you can use JMX to delete the queue Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/deleting-jms-queue-tp5767981p5768013.html Sent from the Camel - Users mailing list

Re: XSL stylesheet from database

2015-06-09 Thread contactreji
Anything you wanna populate on "to uri=" endpoints can be achieved using recepientList EIP. Check out http://camel.apache.org/how-to-use-a-dynamic-uri-in-to.html Cheers Reji - Reji Mathews Sr. Developer - Middleware Integration / SOA ( Open Source - Apache Camel & Jboss Fuse ESB | Mule ES

Transactional Client in Camel

2015-06-09 Thread yogu13
Hi, Wanted some clarity on the usage of Transactional Client In situation like below Considering the above route does the transaction span from the getting the message from the inputQueue till the message is posted on to outputQueue ? and would any issue/exception raised during

XSL stylesheet from database

2015-06-09 Thread est412
Hello! Could you show me the most convenient way of using XSL stylesheets loaded from database (or other dynamic sources) with xslt endpoint? I have already noted technique of using http endpoint, but can it be the only way? Thank you in advance! -- View this message in context: http://camel.46

simple language for filters on values of HTTP headers

2015-06-09 Thread Cristiano Costantini
Hi All, in a camel route starting with a Jetty endpoint, I want to enable gzipping if the input sends the http header: "Accept-Encoding: gzip" However, the Accept-Encoding may have multiple comma separated values for different encoding accepted, typical it is Accept-Encoding: gzip, deflate As th

Re: Manage CorrelationID using JMS endpoint options

2015-06-09 Thread Reji Mathews
Can you check camel jms docs for option called useMessageIDAsCorrelationID. Am not sure if this might serve the purpose. Cheers Reji On Tue, Jun 9, 2015 at 10:35 AM, Gnanaguru S wrote: > Hi All, > > I have a camel route, which takes messages from a jms queue and further > sends it down to a spl

Re: deleting jms queue

2015-06-09 Thread Tim Dudgeon
So back to the question about how to delete them :-) On 09/06/2015 07:54, Claus Ibsen wrote: Yes then you should use regular queues. On Tue, Jun 9, 2015 at 8:47 AM, Tim Dudgeon wrote: Well, maybe I'm wrong to call it a temp queue. This is not an InOut pattern. Its InOnly followed (potentiall