Re: Apache Camel v2.12 | CXF Component | Basic Authentication | Web Service

2014-01-21 Thread Willem Jiang
Hi, If you set the cxfEndpoint property in a processor, it’s a setting of runtime. As the CxfProducer is created during the camel context start the route, the cxfEndpoint’s property is not updated. My suggestion is you set the cxfEndpoint property in the route builder configure method instead o

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: Apache Camel multithread processing

2013-12-15 Thread Preben.Asmussen
You could also change the stored proc to return a batch of messages, or use a bean to call the stored proc. n times, and then return the result as a list or iterator from the bean. Use the splitter to iterate over the result for further processing. -- View this message in context: http://camel.

Re: Apache Camel multithread processing

2013-12-15 Thread astorath
Any updates? -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-multithread-processing-tp5741383p5744808.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Apache Camel File component preMove, move and moveFailed relative rather than absolute

2013-12-11 Thread richie.rivi...@gmail.com
ok. As long as this is the way it is meant to work. thank you. yes making your change worked. -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-File-component-preMove-move-and-moveFailed-relative-rather-than-absolute-tp5744592p5744632.html Sent from the Camel - Use

Re: Apache Camel File component preMove, move and moveFailed relative rather than absolute

2013-12-11 Thread kraythe .
Its working according to the documentation. try ../done to make done a sibling to staging. *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: Apache Camel multithread processing

2013-11-04 Thread astorath
I've been missing for some time... Yeah, I've read the documentation and tried some workarounds with no luck. The goal is as follows: 1. We have some DB Stored Procedure (GetMessage); 2. The proc works similar to JMS: it listens for for the incoming messages for some time and returns the message o

Re: Apache Camel and Synchronized methods in processor

2013-10-31 Thread Christian Posta
If multiple threads are accessing your beans, then yes, your beans have to be thread-safe. On Thu, Oct 31, 2013 at 7:00 AM, M314 wrote: > In general my routing is quite complicated. Do it realy matter how exacly it > looks like? > > Numbers of used threads areset by property one 'concurrentConsum

Re: Apache Camel and Synchronized methods in processor

2013-10-31 Thread M314
In general my routing is quite complicated. Do it realy matter how exacly it looks like? Numbers of used threads areset by property one 'concurrentConsumers' for JmsConfiguration. MyBean distribute jobs between chlid applications (balance load of child applications) - with dynamic routing. After

Re: Apache Camel and Synchronized methods in processor

2013-10-30 Thread Christian Posta
if you have multiple threads running the route (maybe show the full route, and explain how it gets invoked) and you're sharing state in your beans, then you'll probably want some kind of locking/mutex. adding a synchronized keyword to the java method could help. maybe you could explain a little mor

Re: Apache Camel multithread processing

2013-10-14 Thread Charles Moulliard
And since Camel 2.12 we also have a new async component (like SEDA) - http://camel.apache.org/disruptor.html using a disruptor and not BlockingQueue of the JDK On Sat, Oct 12, 2013 at 3:21 PM, Christian Müller < christian.muel...@gmail.com> wrote: > You should explain your requirements in more d

Re: Apache Camel multithread processing

2013-10-12 Thread Christian Mueller
Astorath, can you please subscribe to the discussion forum as we describe here [1]. Otherwise all your mails has to be moderate by the Camel team and is may missed/delayed. [1] http://camel.apache.org/discussion-forums.html Thanks in advance, Christian -- View this message in context: http:/

Re: Apache Camel multithread processing

2013-10-12 Thread Raul Kripalani
If you're trying to process multiple records picked up by a DB query in parallel, you should take a look at the Splitter EIP, which includes support for multithreading out of the box. Regards, Raúl. > On 12 Oct 2013, at 01:21, astorath wrote: > > I want the route to operate in several thread sim

Re: Apache Camel multithread processing

2013-10-12 Thread Christian Müller
You should explain your requirements in more detail. Or have a look at the following sites to answer the question yourself: http://camel.apache.org/multicast.html http://camel.apache.org/seda.html Best, Christian - Software Integration Specialist Apache Member V.P. Apache Camel |

Re: Apache Camel Components Poster - (FREE) PDF, JPG URL Links

2013-10-08 Thread James Carman
Many thanks for your efforts! Great job! On Tuesday, October 8, 2013, Robert James Liguori wrote: > Apache Camel 2.12.1 and External Components Poster > > FREE PDFs > http://gliesian.com/camel/ApacheCamelComponents.pdf > http://gliesian.com/camel/ApacheCamelComponentsCropMarksAndBleed.pdf > > FR

Re: Apache Camel - war project How to process the Queue and set to another queue?

2013-10-03 Thread James Carman
Serializable objects will be sent using a JMS ObjectMessage, not dropped on the floor. No need for JSON serialization. That doesn't mean I don't agree with you that an alternate serialized form should be used (see previous comments). On Friday, October 4, 2013, kraythe . wrote: > You do know th

Re: Apache Camel - Multicast - Is there a 'null' or a similar endpoint ?

2013-10-03 Thread arunodhaya80
Great !! Thanks a lot for explaining this in detail. My bad. For some reason I felt that the route is not complete and that the compiler would complain without a "to". I removed that "to" now and this is exactly what I need. Thank a lot to everybody else for taking the time to make this cl

Re: Apache Camel - war project How to process the Queue and set to another queue?

2013-10-03 Thread kraythe .
You do know that JMS only accepts certain types right? Anything it doesn't understand, like your POJO, will get dropped on the floor. If you serialize your object to JSON before writing to the queue and then back from JSON when reading, it should work fine. *Robert Simmons Jr. MSc. - Lead Java Arc

Re: Apache Camel - Multicast - Is there a 'null' or a similar endpoint ?

2013-10-03 Thread kraythe .
The aggregated exchange is the one that gets returned and how the aggregated exchange is created depends on the aggregation strategy you use. When a route stops either by calling stop or merely not routing anymore, the exchange on the last part of the route could be considered a reply. In most case

Re: Apache Camel - war project How to process the Queue and set to another queue?

2013-10-03 Thread James Carman
Are you sure? I thought "bean" was only a producer (or processor). Anyway, the use case seems kind of silly and probably will lead to mysterious things going on (like jms messages being stolen ;) On Thu, Oct 3, 2013 at 5:44 PM, Christian Müller wrote: > Maybe > from > bean > > is a valid rout

Re: Apache Camel - war project How to process the Queue and set to another queue?

2013-10-03 Thread Christian Müller
Maybe from bean is a valid route... Best, Christian Am 03.10.2013 17:46 schrieb "James Carman" : > That second route with no "to" is "stealing" your messages, I'd guess. > I am actually surprised you're able to create a route with no "to." > I'm curious to play with that phenomenon in a test

Re: Apache Camel - war project How to process the Queue and set to another queue?

2013-10-03 Thread James Carman
That second route with no "to" is "stealing" your messages, I'd guess. I am actually surprised you're able to create a route with no "to." I'm curious to play with that phenomenon in a test case. On Thu, Oct 3, 2013 at 11:36 AM, Andreas Gies wrote: > Hi, > > it might be me, but I think your 2nd

Re: Apache Camel - war project How to process the Queue and set to another queue?

2013-10-03 Thread Andreas Gies
Hi, it might be me, but I think your 2nd route is missing a to-element. You need to do something with message like drop it to a file or at least log it. Otherwise, like others have pointed out, using beans as payload is bad practice in integration applications. However, you seem to be happy

Re: Apache Camel - Multicast - Is there a 'null' or a similar endpoint ?

2013-10-02 Thread arunodhaya80
Apologies for not making myself clear enough. As you could see, I am using Camel to route the request to a REST service to two bean methods. These bean methods enrich a single Entity through the AggregationStrategy configured in the multicast. My understanding is that the last exchange returned

Re: Apache Camel - Multicast - Is there a 'null' or a similar endpoint ?

2013-10-01 Thread Claus Ibsen
Hi Yeah I dont see a problem either. Multicast can be 1 or N destinations. Maybe you can try explain again what you see as a problem? and what you want to do be able to do instead. Are you wanting to do a multicast to zero destinations which doesnt make sense? On Wed, Oct 2, 2013 at 7:44 AM, k

Re: Apache Camel - Multicast - Is there a 'null' or a similar endpoint ?

2013-10-01 Thread kraythe .
It would work. Multicast doesnt indicate anything more than more than one destination. Those destinations could be two JMS queues, a queue and a log, whatever you like. All your code would do is log the message but if that is what you want then go for it. *Robert Simmons Jr. MSc. - Lead Java Archi

Re: Apache Camel - Multicast - Is there a 'null' or a similar endpoint ?

2013-10-01 Thread Christian Müller
This doesn't sounds right. Can you provide a unit test which shows this behavior and attach it to a JIRA [1]!? [1] http://camel.apache.org/contributing.html Best, Christian - Software Integration Specialist Apache Camel committer: https://camel.apache.org/team V.P. Apache Camel:

Re: Apache Camel - war project How to process the Queue and set to another queue?

2013-10-01 Thread James Carman
Have you tried turning up logging to see what's going on? Camel gets very descriptive at DEBUG level On Mon, Sep 30, 2013 at 11:17 AM, kosalads wrote: > Hi James, > > So how do we handle the below scenario with Camel? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.

Re: Apache Camel - war project How to process the Queue and set to another queue?

2013-09-30 Thread kosalads
Hi James, So how do we handle the below scenario with Camel? -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-war-project-How-to-process-the-Queue-and-set-to-another-queue-tp5740524p5740574.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Apache Camel - war project How to process the Queue and set to another queue?

2013-09-30 Thread James Carman
We're not saying you won't be able to do it. It will work, but you will run into troubles down the road with your application and it makes it less flexible. Have you tried playing with a unit test (using embedded ActiveMQ)? It's really easy to set up. On Mon, Sep 30, 2013 at 8:50 AM, kosalads w

Re: Apache Camel - war project How to process the Queue and set to another queue?

2013-09-30 Thread kosalads
Hi James, Please note that I was able to send the Java bean to the queue and read the same java bean from another application. So I dont think it will be a problem to do this. But my issue is that I cannot get the Java Object from one queue and set to another queue in the same application, So t

Re: Apache Camel - war project How to process the Queue and set to another queue?

2013-09-30 Thread James Carman
Regardless of whether it's for an internal application, it' still not wise to use a bean payload on a JMS queue. You can run into all sorts of problems with serialization and you're making it virtually impossible for non-java code to talk to your services. On Mon, Sep 30, 2013 at 6:58 AM, kosalad

Re: Apache Camel - war project How to process the Queue and set to another queue?

2013-09-30 Thread kosalads
Hi, This is for internal Applications and those Objects are serialized and using the same class in the both side. Provided that above scenario how can I achieve this? -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-war-project-How-to-process-the-Queue-and-se

Re: Apache Camel - war project How to process the Queue and set to another queue?

2013-09-30 Thread Claus Ibsen
Hi I dont think its a good idea to use java beans over JMS. Then you have a tight coupling with java code as message format. You would need to have the same .class files on both the sender and receiver side. Can you not use text messages or use some neutral binary format. If you still want java

Re: Apache Camel-Lucene- I want to use Field.Store.Yes when I use TextField(String,Reader)

2013-09-19 Thread gudiseashok
LOL, sorry about that. Since its sub product of Apache I thought somebody might have done this here (Apache Camel-Lucene integration) and can help me. I do realize that Apache is an ocean and should sail at the right spot. Thanks for your time Hilderich. Regards Ashok G -- View this message in

Re: Apache Camel-Lucene- I want to use Field.Store.Yes when I use TextField(String,Reader)

2013-09-19 Thread Hilderich
Hello! IMHO your question has nothing to do with camel and is totally a lucene issue. Look at: http://lucene.472066.n3.nabble.com/ Hilderich -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-Lucene-I-want-to-use-Field-Store-Yes-when-I-use-TextField-String-Read

Re: Apache Camel enrich message with file content on request

2013-04-15 Thread Claus Ibsen
If you know the name of the file to pickup, then its much easier to transform the message body to java.io.File of that file. For example something like: /somepath/${header.filenameToPickup} On Mon, Apr 15, 2013 at 8:57 AM, nikagra wrote: > Hello > I've already asked this question on stacko

Re: Apache camel throwing linkage error

2013-02-22 Thread ronly2008
Hi Claus, Thanks for your response, I was using that initially and realised that could cause some issues as I am using embedded jetty version 7.6, hence I build the source on my local machine. However, I have managed to fix the issue after looking around at different bits of exceptions. It tur

Re: Apache camel throwing linkage error

2013-02-22 Thread Claus Ibsen
Hi Have you tried using the Jetty version that Camel 2.10.3 uses out of the box? On Thu, Feb 21, 2013 at 4:30 PM, ronly2008 wrote: > I have included apache camel inside my application to forward requests > matching a string pattern. > > When I try to deploy the packaged web application inside t

Re: apache Camel cxf proxy doesnt work with http endpoint

2012-12-07 Thread santhosh
My mistake.I figured what the problem was.I was sending the message to wrong operation.I didnt notice the soap:action.So wrong data resulted in 500 error from the server.But thanks guys ,aki and williem for taking time to read such a long post.Much appreciated.I am starting to love the camel forum.

Re: apache Camel cxf proxy doesnt work with http endpoint

2012-12-07 Thread Willem jiang
You need to use the Stream cache [1] when you route the input stream across the route before you route the message to log endpoint. [1]http://camel.apache.org/stream-caching.html -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat

Re: apache Camel cxf proxy doesnt work with http endpoint

2012-12-07 Thread Aki Yoshida
I suppose the call is failing because you are not setting some required properties (e.g., the http method) to fake the soap call. POST text/xml;charset="utf-8" regards, aki 2012/12/7 santhosh : > > My requirement is to have a proxy web service which wi

Re: Apache Camel working directory

2012-09-13 Thread White_Sox
My bad. The working directory is always the directory where you invoke the java command. Thank you for time. Claus Ibsen-2 wrote > > On Thu, Sep 13, 2012 at 10:32 AM, White_Sox wrote: >> Apache Camel starting directory seems to be the project's root >> path.Example: >> >> >> >> >

Re: Apache Camel working directory

2012-09-13 Thread Claus Ibsen
On Thu, Sep 13, 2012 at 10:32 AM, White_Sox wrote: > Apache Camel starting directory seems to be the project's root path.Example: > > > > > > > The file endpoint will load order files from the relative src/data > directory. > > Isn't the working directory supposed to be the one where the class

Re: Apache Camel ZookeeperRoutePolicy

2012-08-22 Thread Claus Ibsen
Hi On Tue, Jul 31, 2012 at 5:09 PM, hokiedeveloper wrote: > I'm using Camel 2.9 and specifically the Camel ZookeeperRoutePolicy to > control multiple instances of Zookeeper Routes across a cluster. It seems to > be working in a simplistic case, but what happens in the case of a failure > to read

Re: Apache Camel : HTTP POST : & character

2012-07-17 Thread anand_tech
i dont know what was the problem. I made a fresh route and used ProxyHelper and Interface basically HidingMiddleware API thing and it started working. :) -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-HTTP-POST-character-tp5716155p5716156.html Sent from the Cam

Re: Apache Camel Threading Model

2012-06-05 Thread Claus Ibsen
Hi See this EIP pattern http://camel.apache.org/pipes-and-filters.html Camel will process the messages in sequence using the same thread. There is a multicast EIP (and the option parallelProcessing=true) allows to use multiple threads. http://camel.apache.org/multicast And some notes about thre

Re: Apache Camel : CXFRS Server : Need advice for Routing

2012-05-14 Thread Willem Jiang
Sergey shows you the way that CXF does. But if you want to route more than one cxfrs endpoint you may consider to use camel-jetty or camel-servlet to do such thing in generic way. On Sun May 13 23:42:23 2012, anand_tech wrote: Thanks Willem.. i actually was using something like that only, i

Re: Apache Camel : CXFRS Server : Need advice for Routing

2012-05-13 Thread anand_tech
Thanks Willem.. i actually was using something like that only, i had used sort of content based router, i.e. the choice and when clause and routing on the basis of url and Http Method being hit. i was just wondering whether i can make different endpoints for my service beans and as correctly poi

Re: Apache Camel : CXFRS Server : Need advice for Routing

2012-05-10 Thread Willem Jiang
Hi, I'm not sure if these three beans have same method name. As the REST request will be mapped into a method call, if you check the method name in the camelCxfInProcessor, you should be able to tell the request is coming for which bean. It should be easy to route the request to different endp

Re: Apache Camel : CXFRS Server : Need advice for Routing

2012-05-10 Thread Sergey Beryozkin
Hi On 10/05/12 07:47, anand_tech wrote: i am making restful webservices using apache cxf and camel. my configuration is something like this : I have three service beans exposed as services and are mapped to different urls and the route is something like

Re: Apache Camel Integration with Open MQ (Glassfish)

2012-05-07 Thread Claus Ibsen
Hi Thanks for sharing your solution. On Mon, May 7, 2012 at 10:34 PM, bxkrish wrote: > Hi Claus, > > Apologies for the delayed reply. > > 1. For your second comment, "sometimes in Services industry we can only > recommend a particular software to our customers, however we have to settle > with

Re: Apache Camel Integration with Open MQ (Glassfish)

2012-05-07 Thread bxkrish
Hi Claus, Apologies for the delayed reply. 1. For your second comment, "sometimes in Services industry we can only recommend a particular software to our customers, however we have to settle with what is available in hand at the customer/client place." 2. Your first comment was helpful to make m

Re: Apache Camel Integration with Open MQ (Glassfish)

2012-05-01 Thread Claus Ibsen
On Wed, May 2, 2012 at 7:56 AM, bxkrish wrote: > Hi William, > The Configuration that I have put in this thread is what I came up for > integrating Apache Camel with IBM MQ. Which is working fine. Now I want to > integrate Camel with Glassfish Sun Open MQ. However I am not sure what Class > name t

Re: Apache Camel Integration with Open MQ (Glassfish)

2012-05-01 Thread bxkrish
Hi William, The Configuration that I have put in this thread is what I came up for integrating Apache Camel with IBM MQ. Which is working fine. Now I want to integrate Camel with Glassfish Sun Open MQ. However I am not sure what Class name to use to create my ConnectionFactory beans, the property n

Re: Apache Camel Integration with Open MQ (Glassfish)

2012-05-01 Thread Willem Jiang
What kind of exception did you get? It's hard to tell any thing is wrong by looking up the configuration that you showed to us. On Wed May 2 04:22:56 2012, bxkrish wrote: Not sure why the beans did not copy the last time. Putting them again. I want something similar for setting up the Open M

Re: Apache Camel Integration with Open MQ (Glassfish)

2012-05-01 Thread bxkrish
Not sure why the beans did not copy the last time. Putting them again. I want something similar for setting up the Open MQ. -- View this message in context: http://camel.465427.n5.nabble.com/Apache-

Re: Apache >> Camel >> Missing Headers

2012-03-27 Thread Claus Ibsen
On Tue, Mar 27, 2012 at 7:40 AM, megachucky wrote: > Unfortunately, the link to the Gliffy diagram (Flow of an exchange through a > route) is broken. Maybe someone can fix it? > Thanks, I am trying to fix this. > -- > View this message in context: > http://camel.465427.n5.nabble.com/Apache-Came

Re: Apache >> Camel >> Missing Headers

2012-03-26 Thread megachucky
Unfortunately, the link to the Gliffy diagram (Flow of an exchange through a route) is broken. Maybe someone can fix it? -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-Missing-Headers-tp5595800p5596987.html Sent from the Camel - Users mailing list archive at Nabbl

Re: Apache >> Camel >> Aggregation EIP

2012-03-26 Thread Christian Müller
http://camel.apache.org/simple.html Best, Christian On Tue, Mar 27, 2012 at 12:03 AM, sambardar wrote: > Thanks Christian. > > Can you please point me to some documentation where i can find the syntax > for things like these about what all can be put in Spring DSL and how. > > > > -- > View this

Re: Apache >> Camel >> Aggregation EIP

2012-03-26 Thread sambardar
Thanks Christian. Can you please point me to some documentation where i can find the syntax for things like these about what all can be put in Spring DSL and how. -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-Aggregation-EIP-tp5596001p5596487.html Sent from th

Re: Apache >> Camel >> Aggregation EIP

2012-03-26 Thread Christian Müller
What's about this? ${in.headers.CustomerId}-${in.headers.BillingId} Best, Christian On Mon, Mar 26, 2012 at 10:51 PM, sambardar wrote: > Yes, maybe a composite header and i need to know how can i specify a > composite header in Spring DSL. > > My Need is simply that the aggregation should h

Re: Apache >> Camel >> Aggregation EIP

2012-03-26 Thread sambardar
Yes, maybe a composite header and i need to know how can i specify a composite header in Spring DSL. My Need is simply that the aggregation should happen on 2 or more keys rather than one. For example, the aggregation should take place on 2 keys - CustomerId and BillingId. -- View this message

Re: Apache >> Camel >> Aggregation EIP

2012-03-26 Thread Christian Müller
That's not possible at present. Could you please explain a bit detailed what your use case is? Maybe two aggregators or a composite header will fit your needs? Best, Christian On Mon, Mar 26, 2012 at 8:01 PM, sambardar wrote: > > How can we configure multiple headers in the correlationExpression

Re: Apache >> Camel >> Missing Headers

2012-03-26 Thread sambardar
Thanks. I went through it and was very helpful in understanding what was happening. -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-Missing-Headers-tp5595800p5595971.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Apache >> Camel >> Missing Headers

2012-03-26 Thread Claus Ibsen
On Mon, Mar 26, 2012 at 7:25 PM, sambardar wrote: > The issue i found was that in one of the beans i modify the body of the > message. After that the header is lost. But if i set back the header in the > same bean where i modify the body, then header is propogated. I did > > e.getOut.setHeaders(e.

Re: Apache >> Camel >> Missing Headers

2012-03-26 Thread sambardar
The issue i found was that in one of the beans i modify the body of the message. After that the header is lost. But if i set back the header in the same bean where i modify the body, then header is propogated. I did e.getOut.setHeaders(e.getIn().getHeaders()) it works after i do this -- View thi

Re: Apache >> Camel >> Missing Headers

2012-03-26 Thread David Karlsen
Yes you can. you can annotate the arguments with @Header to wire them in - or use the expression language/beanbinding 2012/3/26 sambardar : > When i am routing a message from endpoint to a "bean", i can't access the > headers i set. Is this the way it works ? > > -- > View this message in context:

Re: Apache >> Camel >> Time based Message Routing

2012-03-25 Thread sambardar
Thanks. This looks like the pattern I need. -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-Time-based-Message-Routing-tp5593850p5594006.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Apache >> Camel >> Time based Message Routing

2012-03-25 Thread Stéphane Deraco
Hi, Take a look at the aggregator EIP : http://camel.apache.org/aggregator2.html You can do : from("direct:A") .to("direct:B"); from("direct:B") .aggregate(header(MY_CORRELATION_KEY), new MyAggregationStrategy()).completionTimeout(15 * 60 * 1000) .to("direct:C"); Of course, you can aggregate o

Re: Apache >> Camel >> ActiveMq

2012-03-22 Thread sambardar
It doesn't work even if i just send the message directly from netty endpoint without modifying the body -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-ActiveMq-tp5580552p5587190.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Apache >> Camel >> ActiveMq

2012-03-22 Thread Claus Ibsen
On Thu, Mar 22, 2012 at 9:00 AM, sambardar wrote: > it is just a test for now. kpigeneratorBean simply sets a test message "From > KPI Bean" in the body of the message. > > Basically it has just 1 line:  e.getOut().setBody("From KPI Bean"); In fact > if i route the message directly from netty comp

Re: Apache >> Camel >> ActiveMq

2012-03-22 Thread sambardar
it is just a test for now. kpigeneratorBean simply sets a test message "From KPI Bean" in the body of the message. Basically it has just 1 line: e.getOut().setBody("From KPI Bean"); In fact if i route the message directly from netty component to the queue, i still get the error. -- View this mes

Re: Apache >> Camel >> ActiveMq

2012-03-20 Thread Willem Jiang
Hi, What are you doing in the bean:kpiGeneratorBean? BTW, when you using the multicast, you need to enable the stream cache[1] to support stream consuming in different endpoints. [1]http://camel.apache.org/stream-caching.html On Wed Mar 21 03:27:29 2012, sambardar wrote: In fact the trace i

Re: Apache >> Camel >> ActiveMq

2012-03-20 Thread sambardar
In fact the trace i sent already is when it makes second delivery attempt and after. In the first delivery attempt the trace is as below. It seems that messages are simply not being delivered to the ActiveMQ queue == TRACE ===

Re: Apache >> Camel >> ActiveMq

2012-03-20 Thread sambardar
Camel Version 2.9.0. I am trying to run these routes for first time and i am getting this exception at the start of the routes itself. Everything is configured in the xml file. I am pasting full xml file followed by complete stack trace: http://www.springframework.org/schema/beans"; xmlns:

Re: Apache >> Camel >> ActiveMq

2012-03-20 Thread Claus Ibsen
Hi What version of Camel are you using? How did you configure AMQ? Did it work previously? Post the full stacktrace On Tue, Mar 20, 2012 at 5:39 PM, sambardar wrote: > I am getting an exception when starting the routes that has ActiveMq > component in it. It is complaining about not able te re

Re: Apache Camel Demonstration DVD

2012-03-18 Thread Babak Vahdat
Hi I assume Koseki Nonuyuki should know more about this "Japan Apache Camel User Group": http://camel.465427.n5.nabble.com/Is-there-any-conditions-to-launch-Camel-user-group-in-Japan-td4782527.html Babak -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-Demonstrat

Re: Apache Camel >> Netty

2012-03-16 Thread Mark Webb
I've been looking into this (https://issues.apache.org/jira/browse/CAMEL-1077), it will require large modifications to the existing netty component I believe. On Fri, Mar 9, 2012 at 6:20 AM, Claus Ibsen wrote: > On Thu, Mar 8, 2012 at 10:59 PM, sambardar wrote: >> Yes, the issue was related to

Re: Apache Camel >> Netty

2012-03-14 Thread sambardar
Thanks. I have it working now. It was just a mismatch of encoders/decoders. -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-Netty-tp5545678p5565388.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Apache Camel >> Netty

2012-03-13 Thread Ashwin Karpe
Hi, There is no requirement that the Producer be a Camel Netty producer to communicate with a Camel Netty consumer. A straight Netty producer should work with Camel Netty Consumer just fine. It is more important to ensure that the communication handshake (one-way or request/reply) are properly ad

Re: Apache Camel >> Netty

2012-03-12 Thread sambardar
What do i need to consider when I have a Netty consumer on Camel side and i want somebody to send me messages over the socket so. Meaning i have a netty consumer, for example, as below. The program sending me the messages over the socket isn't a camel component but a plain netty program. When i sen

Re: Apache Camel >> Netty

2012-03-12 Thread sambardar
Yes, i think i can add the concession to have Camel netty component as consumer. -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-Netty-tp5545678p5558173.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Apache Camel >> Netty

2012-03-09 Thread Ashwin Karpe
Hi, If you are trying to implement some kind of of callback mechanism it is an higher level application requirement and beyond the communication facilitation focus of the Netty component. That said, it is easily do-able, if you make the following concession... 1> The client sends a TCP request

Re: Apache Camel >> Netty

2012-03-09 Thread Claus Ibsen
On Thu, Mar 8, 2012 at 10:59 PM, sambardar wrote: > Yes, the issue was related to Context not up and now it works fine. I have a > need to create a binary stream over the TCP connection. Means , in client > server mode, I want to send a message to the server(that will run on a > particular ip/port

Re: Apache Camel >> Netty

2012-03-08 Thread sambardar
Yes, the issue was related to Context not up and now it works fine. I have a need to create a binary stream over the TCP connection. Means , in client server mode, I want to send a message to the server(that will run on a particular ip/port) over TCP socket to say "start" and then server should sta

Re: Apache Camel >> Netty

2012-03-08 Thread Ashwin Karpe
Hi, Do you have a Netty consumer or for that matter any application listening on the host/port. The trouble is that you are staring a Producer in a non-lazy mode and it tries to establish a connection with the server that is not listening on the host/port at the time. If you are rolling your own

Re: Apache Camel >> Netty

2012-03-08 Thread Claus Ibsen
Hi Have you created a NettyComponent by yourself? If so then it must be started before creating an endpoint. On Wed, Mar 7, 2012 at 10:35 PM, sambardar wrote: > First time Camel User and trying to use Netty Component. I was running some > of the sample code from Netty test in my own classes an

Re: Apache Camel >> Netty

2012-03-07 Thread sambardar
What i see is that the URL gets screwed in producer template. In the exception you can see URL as netty://tcp://localhost:1521?sync=true whereas it should have been netty:tcp://localhost:1521?sync=true -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-Netty-tp5545

Re: Apache Camel >> Netty

2012-03-07 Thread sambardar
Camel 2.9.0 -- View this message in context: http://camel.465427.n5.nabble.com/Apache-Camel-Netty-tp5545678p5545791.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Apache Camel >> Netty

2012-03-07 Thread Claus Ibsen
Hi What version of Camel are you using? On Wed, Mar 7, 2012 at 10:35 PM, sambardar wrote: > First time Camel User and trying to use Netty Component. I was running some > of the sample code from Netty test in my own classes and got an exception > from this statement. I am looking at it to figure

Re: Apache Camel Night in Zurich

2012-03-02 Thread Babak Vahdat
Hi Christian, Looking forward to meet you in Zurich! Babak Von meinem iPhone gesendet Am 02.03.2012 um 22:21 schrieb Christian Müller : > Hi Babak! > > I registered for this event and I'm on the waiting list. With a bit luck we > will meet us in Zurich soon... > > Best, > Christian > > On T

Re: Apache Camel Night in Zurich

2012-03-02 Thread Christian Müller
Hi Babak! I registered for this event and I'm on the waiting list. With a bit luck we will meet us in Zurich soon... Best, Christian On Thu, Mar 1, 2012 at 11:00 AM, Babak Vahdat wrote: > Hi > > on March 22nd 2012 together with James Strachen, I'm gonne give a talk > about > Apache Camel > in Z

Re: Apache Camel applicability

2012-01-27 Thread Hadrian Zbarcea
The is a common camel use case that we call web-enabling (or web-servicizing) legacy applications. For various reasons (usually related to protocols or security) we need to put a proxy in front of a legacy app. Things you need to pay attention to: * the protocol and interface exposed by M. Usu

Re: Apache Camel applicability

2012-01-27 Thread Claus Ibsen
On Fri, Jan 27, 2012 at 2:13 PM, Andrey Stelmashenko wrote: > Hello, Community! > > I work on a project design and consider using of apache camel. I > looked through the documentation, I liked it! I see that I may need > components and message translators. But I doubt in a way I`m going to > use i

RE: Apache Camel 2.6.0 to 2.8.2 http4 problem

2011-11-17 Thread Carlos Manuel Figueiredo
producer endpoint, entering via jetty:http or jetty:https it worked fine going to (only one) http4 (I presume it assumed http ou https according with the source request) endpoint. -Original Message- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: quinta-feira, 17 de Novembro de 2011

Re: Apache Camel 2.6.0 to 2.8.2 http4 problem

2011-11-17 Thread Claus Ibsen
Try using jetty on the producer side as well as Jetty supports both, and they are fully async, which scales better. But you may have found some odd issue. Can you try with the 2.9.0-RC1 release as well? On Thu, Nov 17, 2011 at 11:27 AM, Carlos Manuel Figueiredo wrote: > I'm upgrading from Apach

Re: Apache Camel 2.9.0-RC1

2011-10-31 Thread Hadrian Zbarcea
Yes, I am rebuilding it today. Thanks, Hadrian On 10/31/2011 09:08 AM, bvahdat wrote: Hi, as a Apache Camel user I intend to upgrade to the 2.9.0 Release as soon as availabe @ the Maven-Repo, so that I wonder if is there any plan for a second try of the 2.9.0-RC1 in the near future: http://cam

Re: Apache Camel onException does not get fired

2011-10-13 Thread Rich Newcomb
The ftp consumer produces a WARN message by default when the connection fails - instead of throwing an exception. You can use the throwExceptionOnConnectionFailed property to change this behavior, and then handle the thrown exception from the PollingConsumerPollStrategy[1] rollback() method. Note

Re: Apache Camel 2.6.0 and Mina 1.1.7 Scalability Issue

2011-09-24 Thread Arunprasad R
> > Hi, > > Recently, we had an issue in consuming Camel Mina - where we could see > scalability issue. We use Mina to accept tcp socket connections. Server > performing well for single user test or with less load. We were able to get > response from server in less than 150 ms. When we execute the

<    1   2   3   4   >