use of org.jboss.jca.common.metadata.spec.RequiredConfigPropertyImpl in project wildfly by wildfly.
the class PooledConnectionFactoryService method createInbound.
private InboundResourceAdapter createInbound(List<ConfigProperty> inboundProps) {
List<RequiredConfigProperty> destination = Collections.<RequiredConfigProperty>singletonList(new RequiredConfigPropertyImpl(EMPTY_LOCL, str("destination"), null));
Activationspec activation15 = new ActivationSpecImpl(str(ACTIVEMQ_ACTIVATION), destination, inboundProps, null);
List<MessageListener> messageListeners = Collections.<MessageListener>singletonList(new MessageListenerImpl(str(JMS_MESSAGE_LISTENER), activation15, null));
Messageadapter message = new MessageAdapterImpl(messageListeners, null);
return new InboundResourceAdapterImpl(message, null);
}
Aggregations