Class QueueInput
java.lang.Object
com.swiftmq.impl.streams.comp.io.QueueInput
- All Implemented Interfaces:
DestinationInput, Input
Consumes Messages from a Queue.
- Author:
- IIT Software GmbH, Muenster/Germany, (c) 2016, All Rights Reserved
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes this Input.voidcollect(long interval) Internal use.current()Returns the current Message of this Input.Sets the current Message on this Input.Returns the destinationNamedestinationName(String destinationName) Sets the destinationName if different from the name used in stream.create().input(name)voidInternal use.Internal use.getName()Returns the name of this Input.Returns the associated JMS Message SelectoronInput(InputCallback callback) Sets the onInput callback.Sets the JMS Message SelectorvoidsetMessageProcessor(QueueMessageProcessor messageProcessor) Internal use.voidstart()Starts this Input.toString()
-
Method Details
-
getMessageProcessor
Description copied from interface:DestinationInputInternal use.- Specified by:
getMessageProcessorin interfaceDestinationInput
-
setMessageProcessor
Description copied from interface:DestinationInputInternal use.- Specified by:
setMessageProcessorin interfaceDestinationInput
-
getName
-
getSelector
Description copied from interface:DestinationInputReturns the associated JMS Message Selector- Specified by:
getSelectorin interfaceDestinationInput- Returns:
- JMS Message Selector
-
selector
Description copied from interface:DestinationInputSets the JMS Message Selector- Specified by:
selectorin interfaceDestinationInput- Parameters:
selector- JMS Message Selector- Returns:
- DestinationInput
-
destinationName
Description copied from interface:DestinationInputSets the destinationName if different from the name used in stream.create().input(name)- Specified by:
destinationNamein interfaceDestinationInput- Parameters:
destinationName- destinationName- Returns:
- DestinationInput
-
destinationName
Description copied from interface:DestinationInputReturns the destinationName- Specified by:
destinationNamein interfaceDestinationInput- Returns:
- destinationName
-
current
-
current
-
onInput
Description copied from interface:DestinationInputSets the onInput callback.- Specified by:
onInputin interfaceDestinationInput- Parameters:
callback- callback- Returns:
- DestinationInput
-
executeCallback
Description copied from interface:InputInternal use.- Specified by:
executeCallbackin interfaceInput- Throws:
Exception
-
collect
-
start
-
close
-
toString
-