Re: Camel CXF synchronous=true setting causes CXF bean invocation last for 60 seconds or more

2012-07-18 Thread Willem Jiang
Hi, First I want to ask what is the CamelDestinationOverrideUrl for? Did you have any chance to try the latest version of camel? CAMEL-3987[1] should already fix the issue when the error handling doesn't work rightly in synchronous=false. https://issues.apache.org/jira/browse/CAMEL-3987 On

Re: camel-cxf and HTTP BASIC authentication

2012-07-18 Thread Willem Jiang
Hi Christian, I'm afraid you have configure the interceptor yourself, or write some configuration to setup Jetty server as others show you. If you are using ServiceMix you can try out the Sergey shows JAASLoginInterceptor, and setup right context name for you to use. Here is an

Re: soap over jms

2012-07-18 Thread bhushand
Hello Willem/Christian I checked for neethi, I have only one version 3.0.2. I also upgrade cxf to 2.6.1. Finally it compile sucessfully, no error . Thanks for help But when I tried to run then its giving me java.lang.NoSuchMethodError:

the stmp url error

2012-07-18 Thread cmland
my route config like this : ?xml version=1.0 encoding=UTF-8? beans xmlns=http://www.springframework.org/schema/beans; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:camel=http://camel.apache.org/schema/spring; xsi:schemaLocation=

Re: soap over jms

2012-07-18 Thread Christian Müller
You need another version of the jar/bundle which contains org/apache/ws/commons/schema/XmlSchemaCollection. Sent from a mobile device Am 18.07.2012 09:52 schrieb bhushand bhushan_bde...@yahoo.co.in: Hello Willem/Christian I checked for neethi, I have only one version 3.0.2. I

Re: Camel Routes across JVMs

2012-07-18 Thread Charles
1.) Use JMS 2.) Use CXF (web services) I've done #1, it's probably easier. - Original Message - From: Sam (Stephen Samuel) samspad...@gmail.com To: users@camel.apache.org Cc: Sent: Wednesday, July 18, 2012 10:28 AM Subject: Camel Routes across JVMs Hi, What's the best practice for

Re: Camel Routes across JVMs

2012-07-18 Thread thomas barker
If you use JMS use activemq if you can... the http / servlet / jetty components are lightweight options as well. On Wed, Jul 18, 2012 at 10:36 AM, Charles cw94...@yahoo.com wrote: 1.) Use JMS 2.) Use CXF (web services) I've done #1, it's probably easier. - Original Message -

Re: Camel Routes across JVMs

2012-07-18 Thread Sam (Stephen Samuel)
I'll stick with JMS then, didn't know if Camel had some kind of Hazelcast type thing. On Wed, Jul 18, 2012 at 3:39 PM, thomas barker thomas.p.bar...@gmail.com wrote: If you use JMS use activemq if you can... the http / servlet / jetty components are lightweight options as well. On Wed, Jul

Re: the stmp url error

2012-07-18 Thread Willem Jiang
You should use amp; instead of if you are specify an URI in Spring configuration file. On Wed Jul 18 17:57:54 2012, cmland wrote: my route config like this : ?xml version=1.0 encoding=UTF-8? beans xmlns=http://www.springframework.org/schema/beans;

Re: Camel Routes across JVMs

2012-07-18 Thread thomas barker
I guess it does: http://camel.apache.org/hazelcast-component.html To be honest there are many options to get this to work, so I would use whatever you know best and are most comfortable with. If you don't want to rock the boat, most people here probably have more experience with camel's jms

RE: Preventing reading of a large XML file in memory

2012-07-18 Thread vishal1981
Hi, Sorry to bug you again...but.. Now I have my route configuration as File - MyBean -Ftp Now MyBean converts the input file to a different format. I want to avoid doing a exchange.getOut().setBody(read new file) since the new file is huge. But somehow I want to convey to the FTP producer that

RE: Preventing reading of a large XML file in memory

2012-07-18 Thread vishal1981
Hi, Sorry to bug you again...but.. Now I have my route configuration as File - MyBean -Ftp Now MyBean converts the input file to a different format. I want to avoid doing a exchange.getOut().setBody(read new file) since the new file is huge. But somehow I want to convey to the FTP producer that

Re: Camel Routes across JVMs

2012-07-18 Thread Sam (Stephen Samuel)
Ah I missed that. Thanks. On Wed, Jul 18, 2012 at 3:50 PM, thomas barker thomas.p.bar...@gmail.com wrote: I guess it does: http://camel.apache.org/hazelcast-component.html To be honest there are many options to get this to work, so I would use whatever you know best and are most comfortable

Re: camel-cxf and HTTP BASIC authentication

2012-07-18 Thread Christian Müller
Thank you all for your valuable suggestions. I will try it out and report back. Best, Christian On Wed, Jul 18, 2012 at 9:07 AM, Willem Jiang willem.ji...@gmail.comwrote: Hi Christian, I'm afraid you have configure the interceptor yourself, or write some configuration to setup Jetty server

Re: Testing the routing logic in isolation (FitNesse)

2012-07-18 Thread David Valeri
I'm not familiar with FitNesse. After a quick read through their documentation I arrived at the conclusions below. I think one path forward would be to write a fixture for FitNesse that uses the input data and output expectations from FitNesse to exercise your route. Your fixture would be

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

2012-07-18 Thread helander
I am using cxfEndpoints with Pax Web in a Karaf container (and Camel routes consuming from these endpoints). I like the way that I only have to specificy the address relative to the http://cxf context in my endpoints, but I would like to limit the available transport for the endpoint to https.

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

2012-07-18 Thread Christian Müller
Hello Lars! Which version of Karaf do you use? Find my comments inline. Best, Christian On Wed, Jul 18, 2012 at 8:07 PM, helander leh...@gmail.com wrote: I am using cxfEndpoints with Pax Web in a Karaf container (and Camel routes consuming from these endpoints). I like the way that I only

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

2012-07-18 Thread helander
Hi Christian, I am using Karaf 2.2.8. I wanted to create a setup where I had two separate web servers (two Pax Web instances) each with its own set of configuration parameters (port numbers, security settings etc). Access to my cxf endpoints should only be possible via one of these web servers.

Re: Datacoding/Alphabet issue in SMPP

2012-07-18 Thread Christian Müller
Opened an issue to track this: https://issues.apache.org/jira/browse/CAMEL-5455 Best, Christian On Thu, Jul 12, 2012 at 11:56 PM, Christian Müller christian.muel...@gmail.com wrote: First, sorry for my late reply... I think I found a good way to provide the data coding. If we do

Re: Datacoding issue

2012-07-18 Thread Christian Müller
Opened an issue to track this: https://issues.apache.org/jira/browse/CAMEL-5455 Best, Christian On Thu, Jul 12, 2012 at 11:55 PM, Christian Müller christian.muel...@gmail.com wrote: I think I found a better way to provide the data coding. If we do DataCoding.newInstance(dataCoding).value()

Dynamic generation of Camel routes

2012-07-18 Thread gilboy
Hi I am working on an application were we need to build camel routes dynamically based on route configuration rules stored in a remote configuration store. My application makes a call to the configuration store, determines how many routes need to be built, retrieves the endpoint parameters and

Re: Dynamic generation of Camel routes

2012-07-18 Thread Hadrian Zbarcea
From what you describe, I would create a DSL for that. Hadrian On 07/18/2012 05:58 PM, gilboy wrote: Hi I am working on an application were we need to build camel routes dynamically based on route configuration rules stored in a remote configuration store. My application makes a call to the

Re: Dynamic generation of Camel routes

2012-07-18 Thread ychawla
Would a routing slip work for you? You can dynamically configure where your message is going, not necessarily what your input is. However, depending on your requirements, this could suffice: http://camel.apache.org/routing-slip.html -- View this message in context:

Re: Preventing reading of a large XML file in memory

2012-07-18 Thread Willem Jiang
Hi, How did you process the old file? Maybe you need some file cache to avoid loading the whole XML file into the memory. On 7/18/12 10:52 PM, vishal1981 wrote: Hi, Sorry to bug you again...but.. Now I have my route configuration as File - MyBean -Ftp Now MyBean converts the input file to a

Re: Dynamic generation of Camel routes

2012-07-18 Thread Hadrian Zbarcea
The routing slip is a dynamic router that allows one to determine at runtime to what endpoints messages should be sent. It got nothing to do with the process of creating routes. The 2 choices are to either hardcode the logic described or the more elegant solution imo of defining a small dsl

Re: Dynamic generation of Camel routes

2012-07-18 Thread Willem Jiang
If you need to send the message to the endpoint dynamically, the routing-slip could be good choice. If you want to build the routes from the route store, you make take a look at this page[1] [1]http://camel.apache.org/loading-routes-from-xml-files.html On Thu Jul 19 06:55:34 2012, ychawla

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

2012-07-18 Thread Willem Jiang
Hi, Please checkout my comments in the below email. On Thu Jul 19 05:35:55 2012, helander wrote: Hi Christian, I am using Karaf 2.2.8. I wanted to create a setup where I had two separate web servers (two Pax Web instances) each with its own set of configuration parameters (port numbers,

Transactions with ActiveMQ (including DLQ) - ActiveMQ Down

2012-07-18 Thread xeraa
Hi! We're using transactions in Camel using ActiveMQ, which uses a JDBC database. The DeadLetterQueue is also running on ActiveMQ. While the underlying database uses a master-slave configuration, what would happen if both are not available? General transactions would fail as nothing could be

setting http soTimeout via setHeader() is not working

2012-07-18 Thread khuss
Hi All, I am trying to set a timeout for an HTTP connection. Based on the documentation, we need to pass a query parameter soTimeout=timeout value to activate the timeout. I am able to get this working with the following route definition from(direct:start)