use of com.adaptris.core.jms.PasPollingConsumer in project interlok by adaptris.
the class ActiveMqPasPollingConsumerTest method testInitClientOnly.
@Test
public void testInitClientOnly() throws Exception {
PasPollingConsumer consumer = create();
consumer.setClientId("xxxx");
try {
consumer.init();
fail("Should fail due to missing subscription Id");
} catch (CoreException e) {
// expected
}
}
Aggregations