This content has been marked as final.
Show 5 replies
-
1. Re: JBAS-3734
adrian.brock Oct 2, 2006 10:56 AM (in response to weston.price)No, the issue is the endpoint using whether the oldClassLoader
is null as the state variable meaning "beforeDeliveryInvoked".
In the case where the caller has no context classloader
(this came up where c threads are attached to the VM via JNI)
this test fails, because it thinks beforeDelivery wasn't invoked.
It just needs a seperate boolean "beforeDeliveryInvoked"
which it can check in afterDelivery(). -
2. Re: JBAS-3734
weston.price Oct 2, 2006 10:59 AM (in response to weston.price)Ok, easy enough. So, to 'reclarify'
1) Simply add a state variable to the MessageEndpointInterceptor to say whether or not beforeDelivery was invoked.
2)Check variable in afterDelivery. -
-
-
5. Re: JBAS-3734
weston.price Oct 2, 2006 11:21 AM (in response to weston.price)Should have also said that the variable needs to also be checked in the beforeDelivery method and replace the check of the oldCL.