vendredi 2 octobre 2015

How to use mockejb framework to test MDB

Has anyone used mockejb to test MDB (Message driven Bean)

I found this rough example online to mock the queue and bean deployed on the container but I don't think there is anyway I would understand this.

This is the link to the example

http://ift.tt/1M7bOFv http://ift.tt/1YVNPmp

(I think its better if I just post the link rather than the whole content)

Set up on my local 1. I have a MDB called updateCustomerMDB 2. It calls the service tier i.e. a bean called updateInformationServiceBean Now I don't understand how I can fill in these values in the above example to test my MDB

Basically I don't understand where I am supposed to substitute my classes.

Thanks in advance.

Aucun commentaire:

Enregistrer un commentaire