AmqpLinkRedirectException Class

public class AmqpLinkRedirectException extends ProtocolException

This exception is thrown when a amqp:link:redirect error is encountered over an AMQP connection

Check the headers of the message with this error to see where you are being redirected to.

For additional details, see this link

Field Summary

Modifier and Type Field and Description
final String errorCode

Constructor Summary

Constructor Description
AmqpLinkRedirectException()
AmqpLinkRedirectException(String message)
AmqpLinkRedirectException(String message, Throwable cause)
AmqpLinkRedirectException(Throwable cause)

Inherited Members

Field Details

errorCode

public static final String errorCode= "amqp:link:redirect"

Constructor Details

AmqpLinkRedirectException

public AmqpLinkRedirectException()

AmqpLinkRedirectException

public AmqpLinkRedirectException(String message)

Parameters:

message

AmqpLinkRedirectException

public AmqpLinkRedirectException(String message, Throwable cause)

Parameters:

message
cause

AmqpLinkRedirectException

public AmqpLinkRedirectException(Throwable cause)

Parameters:

cause

Applies to