JmsMessageFilter listenerDestination = awareListener.getJmsMessageFilter();
assertEquals("queue/B", listenerDestination.getDestName());
assertEquals(JmsMessageFilter.DestType.TOPIC, listenerDestination.getDestType());
assertEquals("service='Reconciliation'", listenerDestination.getSelector());
Listener untypedAwareListener = awareListeners.get(1);
assertEquals("Bank-Listener-Generic", untypedAwareListener.getName());
assertEquals("my-generic-bus", untypedAwareListener.getBusidref());
assertTrue("Type is Dual Listener", untypedAwareListener instanceof DualListener);
final DualListener dualListener = (DualListener)untypedAwareListener;
assertTrue(!dualListener.getIsGateway());
Service gatewayService = model.getService(gatewayListener);