Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note that CamelHazelcastObjectIndex header is used for indexing purpose.

Warning

Please note that set,get and removevalue and not yet supported by hazelcast, will be added in the future..

The list consumer provides 2 operations (add, remove).List consumer – from(“hazelcast:list:foo”)

...

Code Block
fromF("hazelcast:%smm", HazelcastConstants.LIST_PREFIX)
	.log("object...")
	.choice()
		.when(header(HazelcastConstants.LISTENER_ACTION).isEqualTo(HazelcastConstants.ADDED))
			.log("...added")
                        .to("mock:added")
		.when(header(HazelcastConstants.LISTENER_ACTION).isEqualTo(HazelcastConstants.REMOVED))
			.log("...removed")
                        .to("mock:removed")
                .otherwise()
                        .log("fail!");

...