ejbCreate is invoked when the container creates
bean instances to add to the pool. It is not called
for every message.
If you want to authenticate the sender of the
message, you should configure the queue/topic
with security so the sender cannot even add a message.
Please note, this forum is for the development
of JBossMQ, you should use the messaging forum
above for user questions.