Class Redispatcher
java.lang.Object
MessageProcessor
com.swiftmq.impl.queue.standard.cluster.Redispatcher
public class Redispatcher
extends MessageProcessor
-
Constructor Summary
ConstructorDescriptionRedispatcher
(SwiftletContext ctx, String sourceQueueName, String targetQueueName) -
Method Summary
Modifier and TypeMethodDescriptionboolean
isValid()
void
processException
(Exception exception) void
processMessage
(MessageEntry messageEntry) void
run()
void
start()
void
stop()
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
-