org.apache.qpid.test.framework
Interface AMQPPublisher

All Superinterfaces:
Publisher
All Known Implementing Classes:
LocalAMQPPublisherImpl

public interface AMQPPublisher
extends Publisher

An AMQPPublisher represents the status of the publishing side of a test circuit that exposes AMQP specific features. Its provides additional assertions not available through the plain JMS Publisher interface.

CRC Card
Responsibilities
Provide assertion that the publishers received a no consumers error code on every message.
Provide assertion that the publishers received a no route error code on every message.


Method Summary
 Assertion noConsumersAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps)
          Provides an assertion that the publisher got a no consumers exception on every message.
 Assertion noRouteAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps)
          Provides an assertion that the publisher got a no rout exception on every message.
 
Methods inherited from interface org.apache.qpid.test.framework.Publisher
channelClosedAssertion, exceptionAssertion, noExceptionsAssertion
 

Method Detail

noConsumersAssertion

Assertion noConsumersAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps)
Provides an assertion that the publisher got a no consumers exception on every message.

Parameters:
testProps - The test configuration properties.
Returns:
An assertion that the publisher got a no consumers exception on every message.

noRouteAssertion

Assertion noRouteAssertion(org.apache.qpid.junit.extensions.util.ParsedProperties testProps)
Provides an assertion that the publisher got a no rout exception on every message.

Parameters:
testProps - The test configuration properties.
Returns:
An assertion that the publisher got a no rout exception on every message.


Licensed to the Apache Software Foundation