Re: Can't understand what inOnly is doing

2016-09-25 Thread Sashika
I've noticed the fire and forget only works with seda end point called with inOnly. On Sep 26, 2016 02:31, "Brad Johnson" wrote: > @Sim > > By the way, even if you set that to seda queue it's possible you'd get > different responses depending on thread execution order. As far as I know > Camel

Re: Camel Context Metrics

2016-08-16 Thread Sashika
In addition to what Vitalii mentioned you can use control bus to obtain route stats in a more EIP friendly manner. This is also a good way the application to access the stats as you requested in your question. On Aug 16, 2016 20:32, "Rajith Muditha Attapattu" wrote: > Thanks Vitalii > > On Tue,

Re: Setting up SMS Router Project

2016-08-09 Thread Sashika
...@gmail.com wrote: Hi Thanks for the reply. I had a look on the documentation. The current setup i'm having is i have a JEE application thats deployed in jboss wildfly. Where can i add these routes in the application and i want to keep listening to the SMSC all the time as well. On T

Re: Setting up SMS Router Project

2016-08-09 Thread Sashika
If you have access to an smsc just use camel smpp http://camel.apache.org/smpp.html On Tue, Aug 9, 2016 11:52 AM, Chathuraka Waas chathuraka.w...@gmail.com wrote: Hi, I'm really new to apache camel and looking to implement a system to send and receive SMS from my application. While read

Re: Suggestions on how to cluster Camel?

2016-07-23 Thread Sashika
We have used Akka with akka-camel. For consumers you can seamlessly fail over when you use Untyped consumer actors and by using a cluster singleton. Akka cluster singleton will make sure there's only one consumer in the cluster and will start another when a active node goes down. In fact we haven't

Re: Camel SFTP with Publickey

2016-07-12 Thread Sashika
&privateKeyPassphrase=pass123&move=.processed&preferredAuthentications=publickey";).to("file://inbox") On Wed, Jul 13, 2016 at 9:23 AM, Sashika wrote: > Hi, > > The camel documentation is not clear enough on how to use public key > authentication with SFT

Camel SFTP with Publickey

2016-07-12 Thread Sashika
route should connect to the SFTP server using the public key Regards Sashika

Re: ProducerTemplate not able to unmarshal response to Java object.

2016-05-24 Thread Sashika
Producer template can produce to camel end points. Setup a camel route with http component and configure the given url in it. Now produce to that endpoint and convert the response to the required object type. Hope this helps On Tue, May 24, 2016 2:47 PM, ndsurendra ndsuren...@gmail.com wrote:

Re: .choice(), .when() not working as expected in the camel route

2016-05-16 Thread Sashika
Did you try removing . endChoice() and just using end? On Thu, May 12, 2016 10:13 PM, Quinn Stevenson qu...@pronoia-solutions.com wrote: I tried this route with a test, and I’m not sure where the body is supposed to be set to “Error decoding HL7”. Given I can’t make the route set the body to

Re: Deploying hawt.io to spring-boot-web's jetty

2016-02-29 Thread Sashika
This is all I wanted to run Hawt.io embedded org.apache.camel.Main main = new org.apache.camel.Main(); main.enableHangupSupport(); main.addRouteBuilder(new MyRouteBuilder()); main.start(); System.out.println(“Camel starting”); Main hawtMain = new Main(); hawtMain.setWarLocation(“C:\\Users\\*

Re: Switch to route in case original route fails

2016-02-24 Thread Sashika
The easiest way is to set it in a header like .setHeader(“NODE”,constant(“A”) ) when processing in each A or B. Get the header value when you want to find out which node processed the message. On Wed, Feb 24, 2016 at 1:30 PM, mnl < mnlgoya...@gmail.com > wrote: One more thing: Let's say I have

Re: Hawt.io example

2016-02-23 Thread Sashika
as JMX, so just JMX enable the information you want to see in hawtio. And there is some hawtio plugin examples here https://github.com/hawtio/ hawtio/tree/master/hawtio- plugin-examples On Tue, Feb 23, 2016 at 8:54 AM, Sashika < sashik...@gmail.com > wrote: Hi, What is the best place to lo

Hawt.io example

2016-02-22 Thread Sashika
looked through the hawtio website but could not find a place to get started developing plugins. Thanks Sashika.

Re: Switch to route in case original route fails

2016-02-10 Thread Sashika
This might help you Apache Camel: Load Balancer This option can be used whether or not roundRobin is enabled or not.Camel 2.3: Whether or not the failover load balancer should operate in round… camel.apache.org On Wed, Feb 10, 2016 at 9:57 AM, mnl < mnlgoya...@gmail.com > wrote: I have 2 routes

Re: Start/Stop CamelContext

2015-11-23 Thread Sashika
, Claus Ibsen wrote: > stop and remove, and the remove method returns a boolean if it was > removed or not afair. See the javadoc of these methods > > On Mon, Nov 23, 2015 at 1:21 PM, Sashika wrote: > > Removing and adding them again seems not working. I have defined the > r

Re: Start/Stop CamelContext

2015-11-23 Thread Sashika
CamelContext to do that from java code. > > On Fri, Nov 13, 2015 at 5:31 AM, Sashika wrote: > > Hi, > > I'm in need to load some camel route attributes like file paths etc from > the > > database and I'm initializing CamelContext from within spring. Also I use

Start/Stop CamelContext

2015-11-12 Thread Sashika
the camel context in order for the new attributes to take effect? 2. If so how to start/stop CamelContext from within a Spring web application Any help is appreciated. Regards Sashika.

Re: Configuring JMS connection pool for WMQ

2015-11-08 Thread Sashika
I'm doing the same with java code (not spring) and it works perfectly fine. Only difference is I'm using a UserCredentialsConnectionFactoryAdapter in between. Please refer the below code snippet. https://gist.github.com/sashikaxp/3f2be0d4c3e729fc7139 Hope this helps On Sun, Nov 8, 2015 at 10:1

Re: .parallelProcessing vs .thread(i)

2015-10-14 Thread Sashika
An extract from Camel in action book "parallelProcessing will use a default thread pool to achieve concurrency." "The Threads EIP is the only EIP that has additional options in the DSL offering fine grained definition of the thread pool to be used." Hope this helps for some extent On Wed, Oct 1

Re: Camel File component for writing files

2015-10-12 Thread Sashika
, Sashika wrote: > Hi, > > I have a use case to use camel file component as a producer to write files. > In fact to append incoming messages to single file. > > What I observed so far is camel does not keep the file open. Instead it > open the file, append the content and clo

Camel File component for writing files

2015-10-11 Thread Sashika
is missing in the appended file. The file will contain only the second message and on wards. Is this a bug? Thanks in advance Sashika

Re: SQLexception while using PreparedStatement in Camel route

2015-10-08 Thread Sashika
ORA-00942: *table or view does not exist* Are you sure the table name "myTable" is correct and exists in your connected schema? On Thu, Oct 8, 2015 at 8:01 PM, bharathkmr wrote: > Using Camel 2.13.1 with Spring 2.7.11 and receiving an SQL exception while > trying to run a update query using sql

Re: WMQ Reply-to queue

2015-10-04 Thread Sashika
vices > Red Hat France SARLsit: http://www.redhat.fr > Le Linea, 1 rue du General Leclerc, 92047 Paris La Défense Cedex > Sent from webmail > > - Mail original - > De: "Sashika" > À: users@camel.apache.org > Envoyé: Vendredi 2 Octobre 2015 06:25:

WMQ Reply-to queue

2015-10-01 Thread Sashika
I'm connecting to a Websphere MQ endpoint and I have successfully configured the camel Jms component to connect to the queue manager and deliver messages to the intended queue. The route in question is a request-reply scenario and I want the wmq to reply to a queue that I specify. This is configur

Re: Persistent status flag

2015-09-24 Thread Sashika
Hi Claus By the way https://www.manning.com/books/ibsen2 Doesn't resolve to a valid page ☺ On Sep 24, 2015 6:59 PM, "Claus Ibsen" wrote: > There is nothing out of the box. > > Maybe yo can write to the log? Then you can see in the log which days > the it has run. > > On Wed, Sep 23, 2015 at 5:20

Re: Camel Netty - Memory Leak

2015-09-20 Thread Sashika
How about netty4 component? On Sep 20, 2015 4:50 PM, "V4Vaithi" wrote: > I am currently using netty 3.9.4 for TCP/IP communication. > > Camel Version: 2.14.0 > > Netty communication works fine if there is no exception occurs in the > channel. But when there is some connection exception. (or) host

BeanIO - No Stream mapping configured

2015-09-14 Thread Sashika
Hi, I’m trying to configure beanIO for one of my routes as follows Route builderDataFormatformat=newBeanIODataFormat("mapping.xml","csvFile");from("direct:welcome").unmarshal(format).to("akka://mmb/user/sample").wireTap("file://log"); Not using Mixmax yet? But I get the following error.atakka.ca