org.apache.vysper.xmpp.delivery.failure
Class ReturnErrorToSenderFailureStrategy
java.lang.Object
org.apache.vysper.xmpp.delivery.failure.ReturnErrorToSenderFailureStrategy
- All Implemented Interfaces:
- DeliveryFailureStrategy
public class ReturnErrorToSenderFailureStrategy
- extends java.lang.Object
- implements DeliveryFailureStrategy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReturnErrorToSenderFailureStrategy
public ReturnErrorToSenderFailureStrategy(StanzaRelay stanzaRelay)
process
@SpecCompliance(compliant={@SpecCompliant(spec="rfc3921bis-08",section="8.1",status=FINISHED,coverage=COMPLETE),@SpecCompliant(spec="rfc3921bis-08",section="8.3.2",status=NOT_STARTED,coverage=UNKNOWN),@SpecCompliant(spec="rfc3921bis-08",section="4.3",status=NOT_STARTED,coverage=UNKNOWN)})
public void process(Stanza failedToDeliverStanza,
DeliveryException deliveryException)
throws DeliveryException
- Specified by:
process in interface DeliveryFailureStrategy
- Parameters:
failedToDeliverStanza - - stanza which could not be delivereddeliveryException - - optional: exception which occured during the failed delivery
- Throws:
DeliveryException - - exception which occured during failure strategy execution.