Class Redispatcher
java.lang.Object
MessageProcessor
com.swiftmq.impl.queue.standard.cluster.Redispatcher
public class Redispatcher
extends MessageProcessor
-
Constructor Summary
ConstructorsConstructorDescriptionRedispatcher(SwiftletContext ctx, String sourceQueueName, String targetQueueName) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisValid()voidprocessException(Exception exception) voidprocessMessage(MessageEntry messageEntry) voidrun()voidstart()voidstop()toString()
-
Constructor Details
-
Redispatcher
public Redispatcher(SwiftletContext ctx, String sourceQueueName, String targetQueueName) throws Exception - Throws:
Exception
-
-
Method Details
-
start
- Throws:
Exception
-
getDescription
-
getDispatchToken
-
isValid
public boolean isValid() -
processException
-
processMessage
public void processMessage(MessageEntry messageEntry) -
run
public void run() -
stop
public void stop() -
toString
-