Class EclipseLinkHazelcastChanelSupplier.HazelcastMessageChannel

java.lang.Object
io.jmix.autoconfigure.eclipselink.EclipseLinkHazelcastChanelSupplier.HazelcastMessageChannel
All Implemented Interfaces:
org.springframework.messaging.MessageChannel, org.springframework.messaging.SubscribableChannel
Enclosing class:
EclipseLinkHazelcastChanelSupplier

protected static class EclipseLinkHazelcastChanelSupplier.HazelcastMessageChannel extends Object implements org.springframework.messaging.SubscribableChannel
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final com.hazelcast.topic.ITopic<org.springframework.messaging.Message<?>>
     

    Fields inherited from interface org.springframework.messaging.MessageChannel

    INDEFINITE_TIMEOUT
  • Constructor Summary

    Constructors
    Constructor
    Description
    HazelcastMessageChannel(com.hazelcast.topic.ITopic<org.springframework.messaging.Message<?>> topic)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    send(org.springframework.messaging.Message<?> message)
     
    boolean
    send(org.springframework.messaging.Message<?> message, long timeout)
     
    boolean
    subscribe(org.springframework.messaging.MessageHandler handler)
     
    boolean
    unsubscribe(org.springframework.messaging.MessageHandler handler)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • topic

      protected final com.hazelcast.topic.ITopic<org.springframework.messaging.Message<?>> topic
  • Constructor Details

    • HazelcastMessageChannel

      public HazelcastMessageChannel(com.hazelcast.topic.ITopic<org.springframework.messaging.Message<?>> topic)
  • Method Details

    • subscribe

      public boolean subscribe(org.springframework.messaging.MessageHandler handler)
      Specified by:
      subscribe in interface org.springframework.messaging.SubscribableChannel
    • unsubscribe

      public boolean unsubscribe(org.springframework.messaging.MessageHandler handler)
      Specified by:
      unsubscribe in interface org.springframework.messaging.SubscribableChannel
    • send

      public boolean send(org.springframework.messaging.Message<?> message)
      Specified by:
      send in interface org.springframework.messaging.MessageChannel
    • send

      public boolean send(org.springframework.messaging.Message<?> message, long timeout)
      Specified by:
      send in interface org.springframework.messaging.MessageChannel