Class HazelcastCacheWritingMessageHandler

All Implemented Interfaces:
org.reactivestreams.Subscriber<Message<?>>, Aware, BeanFactoryAware, BeanNameAware, DisposableBean, InitializingBean, ApplicationContextAware, Ordered, ExpressionCapable, Orderable, IntegrationPattern, NamedComponent, IntegrationManagement, TrackableComponent, MessageHandler, reactor.core.CoreSubscriber<Message<?>>

public class HazelcastCacheWritingMessageHandler extends AbstractMessageHandler
MessageHandler implementation that writes Message or payload to defined Hazelcast distributed cache object.
Since:
6.0
Author:
Eren Avsarogullari, Artem Bilan
  • Constructor Details

    • HazelcastCacheWritingMessageHandler

      public HazelcastCacheWritingMessageHandler()
  • Method Details

    • setDistributedObject

      public void setDistributedObject(com.hazelcast.core.DistributedObject distributedObject)
    • setCacheExpression

      public void setCacheExpression(Expression cacheExpression)
    • setKeyExpression

      public void setKeyExpression(Expression keyExpression)
    • setExtractPayload

      public void setExtractPayload(boolean extractPayload)
    • onInit

      protected void onInit()
      Description copied from class: IntegrationObjectSupport
      Subclasses may implement this for initialization logic.
      Overrides:
      onInit in class IntegrationObjectSupport
    • handleMessageInternal

      protected void handleMessageInternal(Message<?> message)
      Specified by:
      handleMessageInternal in class AbstractMessageHandler