We just made a patch for jbossws implementing two features:
- The max expiration time and the default expiration time are hard coded in source code. Our patch made these values configurable in SubscriptionManager MBEAN
- We noticed jbossws throws an InvalideExpirationTime Excetion when we try to subscribe with an expiration time longer than maxLeaseTime. According to specification (5.4) this exception should be used only when the expiration time is in the past or the expiration duration is zero. It should answer with a valid registration forcing expiration time to maxLeaseTime (Specification 3.1).
Problems was discovered and reported by Alessio in this user’s forum post:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=90201
and briefly discussed by me in this design’s forum post:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=92340
You can find the patch (over jbossws-1.0.3.SP1 from jbossws svn) here or on jira:
http://jira.jboss.org/jira/browse/JBWS-1290
Tnx, the fix will be included in jbossws 1.0.4