Search in sources :

Example 1 with RedisExceptionListener

use of org.apache.rocketmq.connect.redis.processor.RedisExceptionListener in project rocketmq-externals by apache.

the class ListenerTest method exceptionListenerTest.

@Test
public void exceptionListenerTest() {
    ExceptionListener exceptionListener = new RedisExceptionListener(processor);
    KeyValuePair pair = new KeyStringValueString();
    exceptionListener.handle(null, new NullPointerException("adsf"), pair);
}
Also used : RedisExceptionListener(org.apache.rocketmq.connect.redis.processor.RedisExceptionListener) KeyValuePair(com.moilioncircle.redis.replicator.rdb.datatype.KeyValuePair) KeyStringValueString(com.moilioncircle.redis.replicator.rdb.datatype.KeyStringValueString) RedisExceptionListener(org.apache.rocketmq.connect.redis.processor.RedisExceptionListener) ExceptionListener(com.moilioncircle.redis.replicator.ExceptionListener) Test(org.junit.Test)

Aggregations

ExceptionListener (com.moilioncircle.redis.replicator.ExceptionListener)1 KeyStringValueString (com.moilioncircle.redis.replicator.rdb.datatype.KeyStringValueString)1 KeyValuePair (com.moilioncircle.redis.replicator.rdb.datatype.KeyValuePair)1 RedisExceptionListener (org.apache.rocketmq.connect.redis.processor.RedisExceptionListener)1 Test (org.junit.Test)1