Re: soap over jms

2012-07-19 Thread bhushand
Hello Willem As I am trying to run example shared by Christian, all configuration are from that files. Please find below configurations For server: http://examples/jms-greeter"; /> & route is text/xml

Re: How to invoke CXF webservice from processor bean

2012-07-19 Thread Willem Jiang
Hi, I think you didn't specify a right operation name. Can I have a look at your SEI (Service Endpoint Interface) ? On Fri Jul 20 09:34:22 2012, jeyaseelan78 wrote: Hi, I have processor bean using which i would like to invoke an external webservice. I need to pass the operation name as well as

How to invoke CXF webservice from processor bean

2012-07-19 Thread jeyaseelan78
Hi, I have processor bean using which i would like to invoke an external webservice. I need to pass the operation name as well as parameters. If I pass the parameter in header then its ignored and if i send it via uri then I am getting error as invalid parameter name. public void process(Exchange

Re: Camel keeps dropping ActiveMQ connections

2012-07-19 Thread Christian Müller
I assume upgrading is not an option for you? Camel 2.2 was released more than two years ago and is not supported anymore... [1] https://issues.apache.org/jira/browse/CAMEL/fixforversion/12315686 Best, Christian On Thu, Jul 19, 2012 at 5:07 PM, ychawla wrote: > Hello All, > I have an application

Re: Testing the routing logic in isolation (FitNesse)

2012-07-19 Thread Christian Müller
Thanks for the very pleasant feedback! This helps to further improve Apache Camel. Have a nice Camel ride, Christian On Thu, Jul 19, 2012 at 4:33 PM, lorenzo wrote: > Thanks David, > > I am implementing something along those lines. > I am relatively new to Camel, and I am slightly overwhelmed b

Re: cxfEndpoints and different transports (http, https) using PAX Web

2012-07-19 Thread helander
Hi Scott, and thank you very much for the information you provided so far. I am looking forward for the additional details you so kindly intended to provide. However at this point I do not understand how this will going to solve my "requirements", but maybe that will be totally clear when you prov

Re: NPE in CamelNamespaceHandler with JDK7

2012-07-19 Thread Christian Müller
Hello Hendrik! Thanks for reporting! Could you please ope a ticket at [1]. And it would really helpful, if you could provide a unit test or configuration which shows this problem. [1] https://issues.apache.org/jira/browse/CAMEL Best, Christian On Thu, Jul 19, 2012 at 1:00 PM, hschoeneberg < sch

testing pollEnrich via mock

2012-07-19 Thread sensen
Hello, I love the test-support of camel. Unfortunately, currently I have a problem: I want to create a route which uses a PollEnrich-component. And I want to write a test which mocks away the URI which is used by the pollEnrich-component. But I cannot manage this. I tried the following test, which

Re: cxfEndpoints and different transports (http, https) using PAX Web

2012-07-19 Thread Scott England-Sullivan
As Christian suggested earlier, if you are using ServiceMix uncomment the ${SMX_HOME}/etc/org.ops4j.pax.web.cfg.empty.stub file. If you are using Karaf create the ${KARAF_HOME}/etc/org.ops4j.pax.web.cfg file. Using the SMX provided property file as the example enable the following: org.osgi.serv

Camel keeps dropping ActiveMQ connections

2012-07-19 Thread ychawla
Hello All, I have an application running that has frequent lulls in activity. What I find is that the activemq consumers lose their connections. I have a read few posts about this and taken the suggestions to set keepAlive to true and use a connection pool: [1] keep alives http://camel.465427.n5

Re: soap over jms

2012-07-19 Thread Willem Jiang
It looks like camel have trouble the find the replyTo property. Can I have a look at you jms endpoint URI? On Thu Jul 19 21:09:49 2012, bhushand wrote: Hello All Thanks for your help. I am getting now following error, this error is new to me, I tried to search about this but could not get

Re: Testing the routing logic in isolation (FitNesse)

2012-07-19 Thread lorenzo
Thanks David, I am implementing something along those lines. I am relatively new to Camel, and I am slightly overwhelmed by the various testing capabilities which are offered. In the integration space, I have been more used to have no testing capabilities at all ;) -- View this message in contex

Re: cxfEndpoints and different transports (http, https) using PAX Web

2012-07-19 Thread helander
Hi Scott, I need to look more into your suggested solutions. Can I find more detailed information about them somewhere? Could you elaborate a bit more on what this means? > locking Karaf's HTTP Service to local host > Thanks Lars -- View this message in context: http://camel.465427.n5.nab

RE: Preventing reading of a large XML file in memory

2012-07-19 Thread vishal1981
Hi, Actually Camel already has support for what I was looking for. All I did was set the body of the message in my bean to a File object...when I pass this message down to a file endpoint it knows its a file handle and automatically reads from it. I am not sure which endpoints understand file ob

Re: cxfEndpoints and different transports (http, https) using PAX Web

2012-07-19 Thread Scott England-Sullivan
Hi Lars, I have found that the easiest approach to your issue is to use Camel as an HTTP/S proxy and locking Karaf's HTTP Service to local host. You gain greater flexibility and an additional filter layer if needed. Write it with CM service configuration support to add a dynamic producer driven

Re: soap over jms

2012-07-19 Thread bhushand
Hello All Thanks for your help. I am getting now following error, this error is new to me, I tried to search about this but could not get sufficient information. What is default model queue, is it required & for what purpose. It also has prefix property, what are its valid values. Can any one

Re: camel+quartz schedulers

2012-07-19 Thread Magnus Palmér
Unless you are on a very old version the simple trigger will not fire when starting the route (the fireNow property) However if your repeat interval is small it might look like that. What I normally use is the option of delaying the start of the Quartz scheduler itself. Look for "Starting the Qua

Re: process files in order

2012-07-19 Thread pvunckx
Hi Claus, Thx for your tip ! Indeed, I'm calling webservices in my subroutes > by adding the parameter synchronous=true they run in sequence I'll retry with a large amount of data now and post the result !! Thx Pieter -- View this message in context: http://camel.465427.n5.nabble.com/pro

Re: process files in order

2012-07-19 Thread Claus Ibsen
On Thu, Jul 19, 2012 at 9:14 AM, pvunckx wrote: > Hi, > > What is the best practice for processing 4 files one after another? The > second may only start when the first is completely processed. > Ordering the files is not an issue, this is working. > This is the default behavior of the file consu

Re: Question on Camel WireTap EIP custom thread pool creation

2012-07-19 Thread Claus Ibsen
Remove the threads() as thats another EIP that also uses a thread poo.. On Thu, Jul 19, 2012 at 11:17 AM, Edwin wrote: > Hi Folks, > > I'm currently researching how to create custom thread pools for wiretap > operations in my application. > > I have multiple routes and for each route I want to ha

Re: camel+quartz schedulers

2012-07-19 Thread Sudhakar.kaithepalli
Hi to all . I am using Camel and Quartz to schedule a job and in Quartz also i used SimpleTrigger. But the problem here is the trigger fires while we start the server itself, we don't want like that. It should fire on configured time only not at initial time. How to configure it.

Question on Camel WireTap EIP custom thread pool creation

2012-07-19 Thread Edwin
Hi Folks, I'm currently researching how to create custom thread pools for wiretap operations in my application. I have multiple routes and for each route I want to have an individual wiretap operation. The wiretap operation must run in a custom thread pool of poolSize & maxPoolSize of 1, maxQueue

Re: cxfEndpoints and different transports (http, https) using PAX Web

2012-07-19 Thread helander
I just realized from your description that CXF does not explicitly register with the http services, but rely on the Pax Web Whiteboard extender to perfom the registration. This means that it would not be possible to use a service filter between CXF and the http service (the whiteboard extender woul

Forced "termination" of the current exchange and returning appropriate response code

2012-07-19 Thread helander
In my setup I have a cxf endpoint that are consumed by a route. As the first step in my route I have a bean that picks up the TLSSession from the exchange and puts back a property on the exchange that contains the peer certificates. I doing this in order to access information from the client certif

Re: cxfEndpoints and different transports (http, https) using PAX Web

2012-07-19 Thread helander
Willem, thanks for the clarification regarding the registration of the cxf servlet. May I propose to add a configuration parameter to cxf that defines a service lookup filter to be used when cxf finds the http service. This should be fairly simple to introduce, if the filter config is defined then

NPE in CamelNamespaceHandler with JDK7

2012-07-19 Thread hschoeneberg
Hey everyone, after updating to JDK 7 I keep running into problems when starting up my Spring application: My Setup is: Oracle JDK 7 (build 1.7.0_05-b05), camel-{core, jms, spring}-2.10.0, spring-{beans, context, etc.}-3.1.2.RELEASE Do you have any hints how to address this issue? Thanks for

Re: Camel Routes across JVMs

2012-07-19 Thread Bilgin Ibryam
You can also use pub/sub feature of redis http://redis.io/topics/pubsub I am working on a camel-redis component and we are also planning to use this feature of redis to send notifications between apps. The connector is still WIP but will be ready soon hopefully. https://github.com/bibryam/camel-r

Re: soap over jms

2012-07-19 Thread Willem Jiang
CXF 2.6.1 is using xmlschema-core-2.0.2 jar. I'm not sure how are you doing the third part dependencies management, it could be easy if you are using maven. On Thu Jul 19 15:00:22 2012, bhushand wrote: Hi Thanks for information, but which version of jar will be helpful. I have XmlSche

process files in order

2012-07-19 Thread pvunckx
Hi, What is the best practice for processing 4 files one after another? The second may only start when the first is completely processed. Ordering the files is not an issue, this is working. For the moment I have 5 routes: - One for the file poller (with sorter) - 4 separate routes (direct) for e

Re: soap over jms

2012-07-19 Thread bhushand
Hi Thanks for information, but which version of jar will be helpful. I have XmlSchema-1.4.7.jar, I think this contains the said class. I also check for this class .It doesn't contain read method that takes Document & String as input parameter(due to which error occured), it has other overlo