Class OutputBuilder

java.lang.Object
com.swiftmq.impl.streams.comp.io.OutputBuilder

public class OutputBuilder extends Object
Factory to create Outputs.
Author:
IIT Software GmbH, Muenster/Germany, (c) 2016, All Rights Reserved
  • Constructor Details

  • Method Details

    • queue

      public QueueOutput queue() throws Exception
      Creates a new QueueOutput.
      Returns:
      QueueOutput
      Throws:
      Exception
    • topic

      public TopicOutput topic() throws Exception
      Creates a new TopicOutput.
      Returns:
      TopicOutput
      Throws:
      Exception
    • forAddress

      public Output forAddress(Destination address) throws Exception
      Verifies the type of the address (Topic/Queue) and returns the corresponding Output.
      Parameters:
      address - Address
      Returns:
      Output
      Throws:
      Exception