Search in sources :

Example 11 with JmsConnectionErrorHandler

use of com.adaptris.core.jms.JmsConnectionErrorHandler in project interlok by adaptris.

the class JmsProducerCase method configureForExamples.

protected static JmsConnection configureForExamples(JmsConnection c) {
    c.setPassword("password");
    c.setClientId("client-id");
    c.setConnectionErrorHandler(new JmsConnectionErrorHandler());
    return c;
}
Also used : JmsConnectionErrorHandler(com.adaptris.core.jms.JmsConnectionErrorHandler)

Aggregations

JmsConnectionErrorHandler (com.adaptris.core.jms.JmsConnectionErrorHandler)11 MockChannel (com.adaptris.core.stubs.MockChannel)9 Test (org.junit.Test)9 JmsConnection (com.adaptris.core.jms.JmsConnection)3 Adapter (com.adaptris.core.Adapter)2 SharedConnection (com.adaptris.core.SharedConnection)2 MockMessageProducer (com.adaptris.core.stubs.MockMessageProducer)2 TimeInterval (com.adaptris.util.TimeInterval)2 StandaloneProducer (com.adaptris.core.StandaloneProducer)1 PasProducer (com.adaptris.core.jms.PasProducer)1 StandardJndiImplementation (com.adaptris.core.jms.jndi.StandardJndiImplementation)1