[jboss-user] [JBoss Messaging] - Re: JBM 1.4.0sp3 cp04 bisocket parameters does not effect
lanceliao1
do-not-reply at jboss.com
Tue Dec 2 01:56:03 EST 2008
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#4193655
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193655
More information about the jboss-user
mailing list