Re: information about the inflight exchange(s) when shutting down

2011-10-05 Thread Claus Ibsen
On Tue, Oct 4, 2011 at 5:35 PM, Marco Crivellaro wrote: > > Claus Ibsen-2 wrote: >> >> The default in flight registry only stores number of in flights. >> You can implement a custom in flight registry and include more details. >> > > Is there a reference in the documentation on how to create a cus

Re: need some advice on "cxf" or "spring-ws"

2011-10-05 Thread bvahdat
Hi, in my previous post in August by this thread I promised to give a status update how the things worked out using camel-spring-ws to implement a webservice client calling a webservice (through HTTP-Proxy to Extranet) expecting a strong authentication (client-certificate). All in one, it simply w

Re: need some advice on "cxf" or "spring-ws"

2011-10-05 Thread bvahdat
Hi again, I did a typo by my previous post, by the line: java.net.URLConnection.openConnection(); I meant: java.net.URL.openConnection(); which returns an instance of the abstract class: java.net.URLConnection For the complete code see org.springframework.ws.transport.http.HttpUrlConnection

cups printing

2011-10-05 Thread Evert Tigchelaar
I have 2 servers, one with camel and one with cups. in /etc/cups/client.conf I have one line like this: ServerName :631 But camel cannot find the printers in cups. In PrinterProducer I see that it prefix the printername with the hostname but the found printers doesn't include the hos

Can't get to work

2011-10-05 Thread Ralf Steppacher
Hi all, I am stuck with what seemed a trivial task: parallel execution of a route with . I have basically copied the "Example: threads DSL" on http://camel.apache.org/async.html and tried the same in spring XML. This is what my route looks like at the moment:

Re: cups printing

2011-10-05 Thread Claus Ibsen
Hi It should be fixed in Camel 2.8.2 https://issues.apache.org/jira/browse/CAMEL-4477 https://issues.apache.org/jira/browse/CAMEL-4478 On Wed, Oct 5, 2011 at 12:11 PM, Evert Tigchelaar wrote: > I have 2 servers, one with camel and one with cups. > > > > in /etc/cups/client.conf I have one line l

Re: Can't get to work

2011-10-05 Thread Claus Ibsen
The JMS consumer forces synchronization due the underlying Spring JMS being used. You should enable concurrent consumers on the JMS endpoint to have multiple consumers with JMS. http://camel.apache.org/jms On Wed, Oct 5, 2011 at 12:16 PM, Ralf Steppacher wrote: > Hi all, > > I am stuck with what

camel-http

2011-10-05 Thread narita bagchi
Hi, 1) I have to use camel-http component. 2) I added the following dependencies in the POM file. org.apache.camel camel-http 1.4.0 3) I started getting Unresolved package error for "package=org.apache.commons.httpclient" at Runtime. 4) So I have added the depende

RE: cups printing

2011-10-05 Thread Evert Tigchelaar
Ok, I guess my explanation was not clear enuff. The name of the printer doesn't include the hostname so its like this: HP_LASERJET_4200 and not something like: \\cupserver\printers\HP_LASERJET_4200 The issues you refer to are Windows issues but both my servers (camel and cups) are running on Linux

Re: Can't get to work

2011-10-05 Thread Ralf Steppacher
I see. I will have to look into virtual topics for ActiveMQ then? Or are there other ways to ensure that every route consumes a message on a topic exactly once? I.e. a message is consumed by exactly one (concurrent) consumer? Is this limitation of the JMS consumer going to be lifted in the nearer

Re: camel-http

2011-10-05 Thread Claus Ibsen
Hi Are you sure you are using Camel 1.4.0, that is a very old release. Camel 1.x is End Of Life, and we do not support it anymore. For installing Camel in OSGi, then if you use Apache SerivceMix / Apache Karaf, then you can use its features to install which is much easier. Basically just run thi

Re: Can't get to work

2011-10-05 Thread Claus Ibsen
On Wed, Oct 5, 2011 at 2:59 PM, Ralf Steppacher wrote: > I see. I will have to look into virtual topics for ActiveMQ then? > Or are there other ways to ensure that every route consumes a message on > a topic exactly once? I.e. a message is consumed by exactly one > (concurrent) consumer? > > Is th

Re: need some advice on "cxf" or "spring-ws"

2011-10-05 Thread Claus Ibsen
Hi Thanks for sharing this with the community. On Wed, Oct 5, 2011 at 11:24 AM, bvahdat wrote: > Hi, > > in my previous post in August by this thread I promised to give a status > update how the things worked out using camel-spring-ws to implement a > webservice > client calling a webservice (t

Re: Can't get to work

2011-10-05 Thread Ralf Steppacher
Thanks for the insight and the quick response! I would think that many applications can tolerate out of order messages. Reponse ordering is anyways already out of the window when you enter the async requeste-response-space and the client needs to deal with that fact. Ralf -Original Message--

Re: Using properties in XPath Spring tags

2011-10-05 Thread Claus Ibsen
Hi Thanks for reporting. I have reproduced the issue and created a ticket https://issues.apache.org/jira/browse/CAMEL-4519 On Tue, Oct 4, 2011 at 8:27 PM, green.sea wrote: > Hi, > I'm trying to inject a property into a tag in a Spring camelContext. > > According to http://camel.apache.org/xpath