Package com.swiftmq.impl.streams.comp.io
Class Output
java.lang.Object
com.swiftmq.impl.streams.comp.io.Output
- Direct Known Subclasses:
QueueOutput
,TopicOutput
Represents an Output to a Queue or Topic.
- Author:
- IIT Software GmbH, Muenster/Germany, (c) 2016, All Rights Reserved
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Closes this Output.void
collect
(long interval) Internal use.protected abstract QueueSender
protected abstract Destination
protected abstract String
getType()
boolean
isDirty()
Internal use.name()
Returns the name of the OutputSends a Message.protected abstract void
setDestination
(Destination destination) void
setDirty
(boolean dirty) Internal use.
-
Method Details
-
name
Returns the name of the Output- Returns:
- name
-
isDirty
public boolean isDirty()Internal use. -
setDirty
public void setDirty(boolean dirty) Internal use. -
setDestination
protected abstract void setDestination(Destination destination) -
getType
-
createSender
- Throws:
Exception
-
getDestination
- Throws:
Exception
-
send
Sends a Message.- Parameters:
message
- Message- Returns:
- Output
- Throws:
Exception
-
collect
public void collect(long interval) Internal use. -
close
public void close()Closes this Output.
-