Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-4397

add route support for Hazelcast distributed locking/unlocking

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • 2.10.0
    • camel-hazelcast
    • None
    • Moderate

    Description

      add support for Hazelcast distributed locking/unlocking APIs in a route...see http://www.hazelcast.com/documentation.jsp#Lock

      something like this...

      from("seda:lockTest")
        .doTry()
          .setHeader(HazelcastConstants.LOCK_OBJECT, simple("ID-${header.id}"))
          .to("hazelcast:lock")
          .setBody(simple("processed[${body}]"))
          .to("mock:mock")
        .doFinally()
          .to("hazelcast:unlock");
      

      see this discussion...http://camel.465427.n5.nabble.com/discuss-implementing-Locks-in-Camel-td4775904.html

      Attachments

        1. CAMEL-4397.patch
          12 kB
          Benjamin P. O'Day

        Issue Links

          Activity

            People

              Unassigned Unassigned
              boday Benjamin P. O'Day
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: