use of org.apache.qpid.server.model.Protocol in project qpid-broker-j by apache.
the class Utils method getJmsProvider.
public static JmsProvider getJmsProvider() {
Protocol protocol = getProtocol();
JmsProvider jmsProvider;
if (protocol == Protocol.AMQP_1_0) {
jmsProvider = new QpidJmsClientProvider(new AmqpManagementFacade(protocol));
} else {
jmsProvider = new QpidJmsClient0xProvider();
}
return jmsProvider;
}
Aggregations