private static final CountDownLatch latch = new CountDownLatch(NUMBER_OF_FAILURES_UNTIL_SUCCESS);
private static Long lastDelivery;
@Deployment
public static WebArchive archive() {
return UnifiedPushArchive.forTestClass(TestTriggerMetricCollectionRedelivery.class)
<BUG>.withMessaging()
.addClasses(MessageHolderWithTokensProducer.class, MessageHolderWithTokensConsumer.class, AbstractJMSMessageListener.class)
.addAsWebInfResource("jboss-ejb3-message-holder-with-tokens.xml", "jboss-ejb3.xml")
.addClasses(CdiJmsBridge.class)
.addClasses(TriggerMetricCollectionConsumer.class)</BUG>
.as(WebArchive.class);

private static final CountDownLatch latch = new CountDownLatch(NUMBER_OF_FAILURES_UNTIL_SUCCESS);
private static Long lastDelivery;
@Deployment
public static WebArchive archive() {
return UnifiedPushArchive.forTestClass(TestTriggerMetricCollectionRedelivery.class)
.withMessaging()
.withMessageDrivenBeans()
.as(WebArchive.class);
