Class CometdSegmentDecorator

All Implemented Interfaces:
SegmentDecorator
Direct Known Subclasses:
CometdsSegmentDecorator

public class CometdSegmentDecorator extends AbstractMessagingSegmentDecorator
  • Constructor Details

    • CometdSegmentDecorator

      public CometdSegmentDecorator()
  • Method Details

    • getComponent

      public String getComponent()
      Description copied from interface: SegmentDecorator
      The camel component associated with the decorator.
      Returns:
      The camel component name
    • getDestination

      protected String getDestination(org.apache.camel.Exchange exchange, org.apache.camel.Endpoint endpoint)
      Description copied from class: AbstractMessagingSegmentDecorator
      Gets the (component-specific) destination
      Overrides:
      getDestination in class AbstractMessagingSegmentDecorator
      Parameters:
      exchange - the exchange to extract the destination info from
      endpoint - the endpoint being used
      Returns:
      A String with the destination