Re: Cross war comms using direct-vm and cxf

2014-02-10 Thread Claus Ibsen
On Mon, Feb 10, 2014 at 8:29 AM, Mandy Warren wrote: > Thanks Jason, we did consider this but it still involves creating additional > threads and hence making it tricky to debug. We are really after a solution > which allows a synchronous call across (same jvm) wars on a single thread. > That i

Calculation of in-flight messages in DefaultShutdownStrategy

2014-02-10 Thread chessami92
Hello there, I am using camel 2.12.2, and I seem to be running into an issue where messages are being dropped on graceful shutdown. I've given a sample testng/mockito/groovy test that I think demonstrates the issue I am facing - the DefaultShutdownStrategy calculates size to be zero when there is

Re: Cross war comms using direct-vm and cxf

2014-02-10 Thread Daniel Kulp
You should be able to use the Local transport, but as you said, it’s not exactly easy. It would likely also require you to have the CXF jars in the shared/lib area of your app server so that the actual java classes are shared and can be cast to one another. You’d probably need to create a ve

Java Route Not Finishing

2014-02-10 Thread Zadko
Hi, I am working on a project and have decided to use Camel and ActiveMQ. I am attempting to create a route using Java and MQTT endpoints. Within this route I have also incorporated a Processor. This is what my route looks like: from("mqtt:test?subscribeTopicName=zaq.avila.send")

Camel Aggrgator Misunderstanding

2014-02-10 Thread Klaus777
Hi, I started a thread here: http://stackoverflow.com/questions/21668716/camel-aggrgator-misunderstanding Maybe somebody has a clue or a working example. I am trying to get an aggregation strategy working wherein all the messages are bundled in the body of the final message. My route is as follow

fileidempotent repository not woking

2014-02-10 Thread Ioan Eugen Stan
Hello, I'm currently running Camel 2.12.2, upgraded from camel 2.11.3. Both Are running inside Karaf 2.3.3. I have some routes using the same FileIdempotentRepository but they don't seem to work. I haven't investigated very thoroughly yet, My routes look like this: from("file:///vftp?recur

RE: Routing on REST URL patterns

2014-02-10 Thread mnusry
Thanks Ravi for your insight, I did the following, just like to know how I can send the request to two modules get the result and send it back if the url pattern is in a specific form. Currently I am directing traffic based on the REST url pattern, now I want to send to two or more modules request

Transform without modifying message for downstream endpoints

2014-02-10 Thread MichaelAtSAG
Is it possible to nest a transform so that it does not alter the original message payload? This alters original payload: http://camel.apache.org/schema/spring";> ${in.body} extra data! In psuedo-code, I want to isolate the message transform from downstream endpoi

Re: Transform without modifying message for downstream endpoints

2014-02-10 Thread Mark Frazier
Use the recipient list EIP and transform only on one branch. > On Feb 10, 2014, at 5:27 PM, MichaelAtSAG wrote: > > Is it possible to nest a transform so that it does not alter the original > message payload? > > This alters original payload: > > http://camel.apache.org/schema/spring";> > >

Re: Camel Aggrgator Misunderstanding

2014-02-10 Thread Klaus777
Thanks for reading ;). I have answered this question in SO: http://stackoverflow.com/questions/21668716/camel-aggrgator-misunderstanding/21691358#21691358 -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Aggrgator-Misunderstanding-tp5747049p5747059.html Sent from the Cam

Enable Groovy Caching

2014-02-10 Thread Klaus777
Hi, I see Groovy expressions taking alot of time (e.g. 500ms) for simple things. I presume this is because of script compilation. Now the language construct has a cacheScript flag to control caching. Is there something similar for expressions? I looked at CAMEL-6340 and I could not tell whether th

akka-camel jetty producer: getting exception which I am not able to catch

2014-02-10 Thread rajvaibhav
Use case: I have a REST endpoint which is developed with Spray Routing. It receives requests from clients and for some services it calls another REST service which is hosted on another server. After receiving response from remote REST service it does some processing and returns the result back to t

Customize http ports & change "/cxf" to "/" for different services hosted on Fuse container

2014-02-10 Thread lkrao31
Hello All, We have a requirement where in we have multiple services deployed on our container and these containers are in a cluster spread across different hosts. Below is our Infra design It has 2 hosts which have fuse software instlled. ssh is not available between the 2 nor is internet a

Camel Stomp Component with Spring DSL

2014-02-10 Thread Ed Spree
Hi all, I looked on the stomp component page on the Camel website and really would like to use the capability to have the messages posted to the ActiveMQ broker from a web service converted to a message that follows the STOMP protocol. In reading the page and doing further research, it appears th

Re: akka-camel jetty producer: getting exception which I am not able to catch

2014-02-10 Thread Willem Jiang
Hi, It looks like a akka actor logging issue, instead of camel apache issue. Please ask this question in akka user mailing list. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com(http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com(http

Re: Camel Stomp Component with Spring DSL

2014-02-10 Thread Willem Jiang
If you want use Spring DSL you need to include the camel-spring into your class path. Camel component API is pluggable, it has nothing to do with the Spring DSL, you just need to specify the right URI to let camel context load the camel-stomp endpoint for you. -- Willem Jiang Red Hat, Inc.

Re: akka-camel jetty producer: getting exception which I am not able to catch

2014-02-10 Thread rajvaibhav
Actually it's both. Because of logging issue I am not able to log the exception which is being caused by the camel code. When I remove camel code, It's working fine. -- View this message in context: http://camel.465427.n5.nabble.com/akka-camel-jetty-producer-getting-exception-which-I-am-not-abl