users@glassfish.java.net

RE: Resource Adapter can not be injected via anotation must ...

From: Martin Gainty <mgainty_at_hotmail.com>
Date: Fri, 12 Oct 2012 20:13:08 -0400

Blaze

assign a name to MessageDrivenBean
implement a Listener
provide a No-arg constructor to the implementing class

http://www.datadisk.co.uk/html_docs/ejb/ejb3_mdb.htm

Martin
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.


> To: users_at_glassfish.java.net
> Subject: Re: Resource Adapter can not be injected via anotation must ...
> From: forums_at_java.net
> Date: Fri, 12 Oct 2012 16:55:26 -0500
>
> Hi marina, thx for your replay. No the interface is just one in the class the
> imports are not shown...but its the same
> mk.icelabs.socketj2ee.advertisment.SocketMessageEndpoint its intersting if I
> dont define the Listener class @MessageDriven( activationConfig = {
> @ActivationConfigProperty(propertyName = "ipAddress", propertyValue =
> "0.0.0.0"), @ActivationConfigProperty(propertyName = "port", propertyValue =
> "12050") } ) public class ServerSocketMDB implements SocketMessageEndpoint {
> // implement here } the deploy endpoint creation all works fine but again on
> the same cast the exception is there so it seems to me the annotation for the
> Listener is not working at all... Blaze
>
> --
>
> [Message sent by forum member 'baze985']
>
> View Post: http://forums.java.net/node/891408
>
>