Hi, please have a look at MessageFactory.java to get some idea. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4224224#4224224 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4224224