The services itself are not pojo ready:

  | Caused by: java.lang.IllegalArgumentException: Wrong arguments. 
setServerPeer for target org.jboss.j
  | ms.server.destination.queueserv...@1ebf0d3 
expected=[javax.management.ObjectName] actual=[org.jboss.
  | jms.server.ServerPeer]
  | 

They still expect injectee ObjectName
instead of the real injectee.

Perhaps this can help:

  | <bean class="org.jboss.jms.server.destination.TopicService" 
name="Topic,name=kunden">
  |             <property name="serverPeer">
  |                     <inject bean="jboss.messaging:service=ServerPeer" 
fromContext="name"/>
  |             </property>
  |             <depends>jboss.messaging:service=PostOffice</depends>
  |     </bean>
  | 
See 'fromContext' attribute.

But I would pojo-ize the services.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4205801#4205801

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4205801
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to