I have an SFSB containing a long list of data. I would like to use that list of data in the onMessage() of an MDB however, it's too big to pass it on in the message. I tried injecting the SFSB inside the MDB, but the injected SFSB is a brand new instance and doesn't contain list of data I need.
So how do I access the SFSB from within an MDB?
I'm using jboss4.0.4RC1 with EJB3.
Pass the sfsb handle to the mdb in the message.