private static final int RESOURCE_NOT_AVAILABLE = 3;
private static final int PUSH_NETWORK_UNREACHABLE = 3;
@Deployment
public static WebArchive archive() {
return UnifiedPushArchive.forTestClass(TestMessageRedelivery.class)
<BUG>.withMessaging()
.addClasses(MessageHolderWithTokensProducer.class, MessageHolderWithTokensConsumer.class, AbstractJMSMessageListener.class)
.addAsWebInfResource("jboss-ejb3-message-holder-with-tokens.xml", "jboss-ejb3.xml")</BUG>
.withMockito()
.addClasses(MockProviders.class)

private static final int RESOURCE_NOT_AVAILABLE = 3;
private static final int PUSH_NETWORK_UNREACHABLE = 3;
@Deployment
public static WebArchive archive() {
return UnifiedPushArchive.forTestClass(TestMessageRedelivery.class)
.withMessaging()
.withMessageDrivenBeans()
.withMockito()
.addClasses(MockProviders.class)
