[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: org.jboss.test.cts.test.MDBUnitTestCase
sergeypk
do-not-reply at jboss.com
Fri Mar 23 15:24:59 EDT 2007
I investigated it today with Clebert's help. This aspect throws the exception:
public Object handleCreateTextMessage(Invocation invocation) throws Throwable
| {
| JBossTextMessage jbm = new JBossTextMessage(0);
|
| MethodInvocation mi = (MethodInvocation)invocation;
|
| if (mi.getArguments() != null)
| {
| jbm.setText((String)mi.getArguments()[0]);
| }
|
| return new TextMessageProxy(jbm);
| }
|
Apparently mi.getArguments() does not return null anymore but a zero-element array. I posted a question on the AOP design forum: http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031174#4031174
Sergey
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4031175#4031175
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4031175
More information about the jboss-dev-forums
mailing list