Class Republish

  • All Implemented Interfaces:

    
    public final class Republish
    
                        

    Republish configuration: a copy of every matching message, on a subject of its own

    The copy is a plain core-NATS message rather than a stream message, so a subscriber gets it without a consumer - which is how a stream feeds a cache or an audit listener that must not acknowledge anything.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getSource() Subject filter selecting which published messages are republished
      final String getDestination() Subject template the copy is published to
      final Boolean getHeadersOnly() Republish the headers without the body
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail