I think there are some subtle mechanism.
JMSRemotingConnection public void start()
| Map config = new HashMap();
|
| config.put(Client.ENABLE_LEASE, String.valueOf(clientPing));
|
| if
(serverLocator.getParameters().containsKey(MicroSocketClientInvoker.MAX_POOL_SIZE_FLAG))
| {
| throw new IllegalArgumentException("Invalid remoting configuration - do
not specify clientMaxPoolSize" +
| " use " + JBM_MAX_POOL_SIZE_KEY
+" instead");
| }
|
| if (!serverLocator.getProtocol().equals("http") &
!serverLocator.getProtocol().equals("https"))
| {
| String val =
(String)serverLocator.getParameters().get(JBM_MAX_POOL_SIZE_KEY);
|
| if (val == null)
| {
| log.warn(JBM_MAX_POOL_SIZE_KEY + " not specified - defaulting to
200");
|
| val = "200";
| }
|
| config.put(MicroSocketClientInvoker.MAX_POOL_SIZE_FLAG, val);
| }
|
| client = new Client(serverLocator, config);
|
| client.setSubsystem("JMS");
|
The method only set a few parameters of remoting,the Map config used as configuration of
Client.
The ConnectionValidator only use this map to set parameters,so it does not work.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193655#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...