Re: [discuss] implementing Locks in Camel

2011-09-07 Thread boday
thanks for the feedback. I agree that this needs more consideration and may not even be a good fit for Camel (hence this post). I do feel like this is becoming a more common use case given the trend towards more concurrent/distributed solutions (clustering, cloud deployments, big data, etc).

[jira] [Commented] (CAMEL-4419) Upgrade to CXF 2.4.3

2011-09-07 Thread JIRA
[ https://issues.apache.org/jira/browse/CAMEL-4419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13098673#comment-13098673 ] Jean-Baptiste Onofré commented on CAMEL-4419: - The upgrade breaks the

Re: [VOTE] Release Apache Camel 2.8.1

2011-09-07 Thread Jean-Baptiste Onofré
+1 (non binding). Tested with Karaf 2.2.2, using Spring DSL and Blueprint DSL. Regards JB On 09/06/2011 09:27 PM, Zbarcea Hadrian wrote: A new patch release apache-camel-2.8.1 is out with approximately 45 issues resolved: improvements and bug fixes [1]. Please find the staging repo here:

Re: [discuss] implementing Locks in Camel

2011-09-07 Thread Willem Jiang
Maybe a lock block DSL with a key could help use to implement such a function. lock().to(xxx).unlock() Willem On Wed Sep 7 15:07:33 2011, boday wrote: thanks for the feedback. I agree that this needs more consideration and may not even be a good fit for Camel (hence this post). I do

Re: [discuss] implementing Locks in Camel

2011-09-07 Thread Christian Schneider
I am not sure if this is the same use case that I had some years ago. We wanted to have several instances of an integration running but only one of them should be active at any time. At the time there was no easy solution for this problem. So in that use case you would have several instances

[jira] [Created] (CAMEL-4423) use geronimo-jaxws_2.2_spec 1.1 bundle

2011-09-07 Thread Freeman Fang (JIRA)
use geronimo-jaxws_2.2_spec 1.1 bundle -- Key: CAMEL-4423 URL: https://issues.apache.org/jira/browse/CAMEL-4423 Project: Camel Issue Type: Improvement Reporter: Freeman Fang

[jira] [Work started] (CAMEL-4423) use geronimo-jaxws_2.2_spec 1.1 bundle

2011-09-07 Thread Freeman Fang (JIRA)
[ https://issues.apache.org/jira/browse/CAMEL-4423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on CAMEL-4423 started by Freeman Fang. use geronimo-jaxws_2.2_spec 1.1 bundle -- Key: CAMEL-4423

[jira] [Commented] (CAMEL-4363) Allow for static file handlers to be added to the jetty component

2011-09-07 Thread Joshua Watkins (JIRA)
[ https://issues.apache.org/jira/browse/CAMEL-4363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13098814#comment-13098814 ] Joshua Watkins commented on CAMEL-4363: --- I think I understand what you are saying. I

[jira] [Commented] (CAMEL-4423) use geronimo-jaxws_2.2_spec 1.1 bundle

2011-09-07 Thread Freeman Fang (JIRA)
[ https://issues.apache.org/jira/browse/CAMEL-4423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13098858#comment-13098858 ] Freeman Fang commented on CAMEL-4423: - commit fix

Re: cxf : bean producer consumer

2011-09-07 Thread skompelly
Hi Thanks for all your help. i have exposed the soap web service through camel. Below is my code structure, it is consuming the message sent from soap ui. endpoint - soap endpoint configured in context file from wsdl all the files are generted. from(cxf:bean:endpoint) - exposed web

[jira] [Updated] (CAMEL-4417) Move base classes used by components from impl to support

2011-09-07 Thread Christian Schneider (JIRA)
[ https://issues.apache.org/jira/browse/CAMEL-4417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Schneider updated CAMEL-4417: --- Attachment: CAMEL-4417-1.patch Patch moving all support classes from impl to

[jira] [Created] (CAMEL-4424) Missing saxon-sql 9.1.0.8 dependency for camel-saxon in Maven Central

2011-09-07 Thread Nils Breunese (JIRA)
Missing saxon-sql 9.1.0.8 dependency for camel-saxon in Maven Central - Key: CAMEL-4424 URL: https://issues.apache.org/jira/browse/CAMEL-4424 Project: Camel Issue Type: Bug

[jira] [Commented] (CAMEL-4424) Missing saxon-sql 9.1.0.8 dependency for camel-saxon in Maven Central

2011-09-07 Thread Jonathan Anstey (JIRA)
[ https://issues.apache.org/jira/browse/CAMEL-4424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13098996#comment-13098996 ] Jonathan Anstey commented on CAMEL-4424: It is here

[jira] [Commented] (CAMEL-4424) Missing saxon-sql 9.1.0.8 dependency for camel-saxon in Maven Central

2011-09-07 Thread Nils Breunese (JIRA)
[ https://issues.apache.org/jira/browse/CAMEL-4424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13099001#comment-13099001 ] Nils Breunese commented on CAMEL-4424: -- Adding that repository fixes the dependency

[jira] [Commented] (CAMEL-4424) Missing saxon-sql 9.1.0.8 dependency for camel-saxon in Maven Central

2011-09-07 Thread Jonathan Anstey (JIRA)
[ https://issues.apache.org/jira/browse/CAMEL-4424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13099017#comment-13099017 ] Jonathan Anstey commented on CAMEL-4424: Yeah, having everything 100% at central

[jira] [Commented] (CAMEL-4417) Move base classes used by components from impl to support

2011-09-07 Thread Hadrian Zbarcea (JIRA)
[ https://issues.apache.org/jira/browse/CAMEL-4417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13099033#comment-13099033 ] Hadrian Zbarcea commented on CAMEL-4417: @Christian, all the changes you make in

Re: [discuss] implementing Locks in Camel

2011-09-07 Thread boday
Christian, my use case is that I have multiple apps that update the same data (PurchaseOrders) and we periodically see some stale writes. We have a combination of Camel/CXF web services (load balanced across 2 machines) and batch processing in Camel routes (in a separate app) and are evaluating

Re: [discuss] implementing Locks in Camel

2011-09-07 Thread Hadrian Zbarcea
Yeah, we have a DelegateProcessor for before/after processing. Hadrian On 09/07/2011 12:25 AM, Matt Pavlovich wrote: Disclaimer-- I haven't used either of these locking technologies described, but understand how and why Ben is looking to use them. I think it would be helpful to understand

Re: [discuss] implementing Locks in Camel

2011-09-07 Thread Hadrian Zbarcea
Ben, no issue with the term lock(), I get the semantics. What I don't get is this: what happens in your scenario if one of the boxes crashes (say physically, burnt memory chip, power supply explodes) with the lock acquired. What do the other camel processes do? Why not just queue the

Re: [discuss] implementing Locks in Camel

2011-09-07 Thread Christian Schneider
Well at least in my case queueing would not work as the lock would protect the original source of events. In the solution we used then the other instances would detect that the active instance is not working anymore and then find a new active instance among the remaining instances. If the

RE: [jira] [Updated] (CAMEL-4417) Move base classes used by components from impl to support

2011-09-07 Thread Mathieu Lalonde
Christian, I moved the following classes without compat stubs as they were not needed outside camel-core: DefaultPollingConsumerPollStrategy, DefaultRouteNode, DefaultScheduledPollConsumer, DefaultSubUnitOfWork, DefaultTracedRouteNodes, EventDrivenPollingConsumer, ExpressionAdapter,

[jira] [Created] (CAMEL-4425) Cleanup usage of improper URIs in Camel

2011-09-07 Thread Hadrian Zbarcea (JIRA)
Cleanup usage of improper URIs in Camel --- Key: CAMEL-4425 URL: https://issues.apache.org/jira/browse/CAMEL-4425 Project: Camel Issue Type: Improvement Affects Versions: 2.8.0 Reporter:

Re: [discuss] implementing Locks in Camel

2011-09-07 Thread Matt Pavlovich
Hadrian- I agree. This is the same conceptual problem NFS/GFS and other similar systems have. Anytime you implement a centralized locking, you always have to account for the clients that requested locks disappearing, or the thing that is centralizing the locks goes away. This is usually

Re: [discuss] implementing Locks in Camel

2011-09-07 Thread Donald Whytock
Maybe contribute a LockingProcessor that accepts a Lock in the constructor? Don

Re: [discuss] implementing Locks in Camel

2011-09-07 Thread boday
Matt/Hadrian, to your question about the distributed lock being safe when things crash...it depends on the implementation, but http://www.hazelcast.com/documentation.jsp#Lock Hazelcast claims that it is designed to handle this scenario... Locks are fail-safe. If a member holds a lock and some

Re: [VOTE] Release Apache Camel 2.8.1

2011-09-07 Thread Christian Schneider
+1 Christian Am 06.09.2011 21:27, schrieb Zbarcea Hadrian: A new patch release apache-camel-2.8.1 is out with approximately 45 issues resolved: improvements and bug fixes [1]. Please find the staging repo here: https://repository.apache.org/content/repositories/orgapachecamel-037/ The