This closes #92 Deprecating property
This commit is contained in:
commit
1cb372bcd8
|
@ -53,6 +53,8 @@ public class TransportConstants
|
|||
|
||||
public static final String USE_INVM_PROP_NAME = "useInvm";
|
||||
|
||||
/** @deprecated use PROTOCOLS_PROP_NAME */
|
||||
@Deprecated
|
||||
public static final String PROTOCOL_PROP_NAME = "protocol";
|
||||
|
||||
public static final String PROTOCOLS_PROP_NAME = "protocols";
|
||||
|
|
|
@ -100,7 +100,7 @@ public abstract class StompV11TestBase extends ActiveMQTestBase
|
|||
protected JMSServerManager createServer() throws Exception
|
||||
{
|
||||
Map<String, Object> params = new HashMap<String, Object>();
|
||||
params.put(TransportConstants.PROTOCOL_PROP_NAME, StompProtocolManagerFactory.STOMP_PROTOCOL_NAME);
|
||||
params.put(TransportConstants.PROTOCOLS_PROP_NAME, StompProtocolManagerFactory.STOMP_PROTOCOL_NAME);
|
||||
params.put(TransportConstants.PORT_PROP_NAME, TransportConstants.DEFAULT_STOMP_PORT);
|
||||
params.put(TransportConstants.STOMP_CONSUMERS_CREDIT, "-1");
|
||||
TransportConfiguration stompTransport = new TransportConfiguration(NettyAcceptorFactory.class.getName(), params);
|
||||
|
|
Loading…
Reference in New Issue