1 Reply Latest reply: Apr 9, 2012 8:48 PM by Stuart Douglas RSS

@Resource for ConnectionFactory in AS 7.1

Hanneli Tavante Newbie

Hey all! Is  possible to use @Resource to inject JMS ConnectionFactories or Destinaions in JBoss AS 7.1, like

 

   

@Resource(mappedName="RemoteConnectionFactory")
    private ConnectionFactory factory;
    @Resource(mappedName="queue/test")
    private Destination destination;

 

 

Thanks!