Class StreamBuilder

java.lang.Object
com.swiftmq.impl.streams.StreamBuilder

public class StreamBuilder extends Object
Factory to create Stream resources.
Author:
IIT Software GmbH, Muenster/Germany, (c) 2016, All Rights Reserved
  • Method Details

    • memory

      public MemoryBuilder memory(String name)
      Returns a new MemoryBuilder
      Parameters:
      name - of the Memory
      Returns:
      MemoryBuilder
    • memoryGroup

      public MemoryGroup memoryGroup(String name, String groupPropertyName)
      Creates a new MemoryGroup
      Parameters:
      name - Name of the MemoryGroup
      groupPropertyName - Name of the Group Property
      Returns:
      MemoryGroup
    • timer

      public TimerBuilder timer(String name)
      Returns a new TimerBuilder
      Parameters:
      name - of the Timer
      Returns:
      TimerBuilder
    • output

      public OutputBuilder output(String name)
      Returns a new OutputBuilder. If the name parameter is set to null, the Output will not be registered at the stream and no usage information is generated. This is useful for Outputs that are used to send a single message only (e.g. sending a reply in request/reply). These Outputs needs to be closed explicitly.
      Parameters:
      name - of the Output
      Returns:
      OutputBuilder
    • input

      public InputBuilder input(String name)
      Returns a new InputBuilder
      Parameters:
      name - of the Input
      Returns:
      InputBuilder
    • input

      public InputBuilder input(TempQueue tempQueue)
      Returns a new InputBuilder
      Parameters:
      tempQueue - temp queue
      Returns:
      InputBuilder
    • message

      public MessageBuilder message()
      Returns a new MessageBuilder
      Returns:
      MessageBuilder
    • mailserver

      public MailServer mailserver(String hostname)
      Returns a new MailServer
      Parameters:
      hostname - Host Name
      Returns:
      MailServer
    • jdbcLookup

      public JDBCLookup jdbcLookup(String name)
      Returns a new JDBCLookup
      Parameters:
      name - of the JDBCLookup
      Returns:
      JDBCLookup
    • tempQueue

      public TempQueue tempQueue(String name) throws Exception
      Returns a new TempQueue
      Parameters:
      name - of the TempQueue
      Returns:
      TempQueue
      Throws:
      Exception