Package com.swiftmq.impl.streams.comp.io
Class OutputBuilder
- java.lang.Object
-
- com.swiftmq.impl.streams.comp.io.OutputBuilder
-
public class OutputBuilder extends java.lang.Object
Factory to create Outputs.- Author:
- IIT Software GmbH, Muenster/Germany, (c) 2016, All Rights Reserved
-
-
Constructor Summary
Constructors Constructor Description OutputBuilder(StreamContext ctx, java.lang.String name)
Internal use.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Output
forAddress(javax.jms.Destination address)
Verifies the type of the address (Topic/Queue) and returns the corresponding Output.QueueOutput
queue()
Creates a new QueueOutput.TopicOutput
topic()
Creates a new TopicOutput.
-
-
-
Constructor Detail
-
OutputBuilder
public OutputBuilder(StreamContext ctx, java.lang.String name)
Internal use.
-
-
Method Detail
-
queue
public QueueOutput queue() throws java.lang.Exception
Creates a new QueueOutput.- Returns:
- QueueOutput
- Throws:
java.lang.Exception
-
topic
public TopicOutput topic() throws java.lang.Exception
Creates a new TopicOutput.- Returns:
- TopicOutput
- Throws:
java.lang.Exception
-
forAddress
public Output forAddress(javax.jms.Destination address) throws java.lang.Exception
Verifies the type of the address (Topic/Queue) and returns the corresponding Output.- Parameters:
address
- Address- Returns:
- Output
- Throws:
java.lang.Exception
-
-