[jboss-user] [Messaging, JMS & JBossMQ] - Automatic topic creation & deletion through EJBSessionBean.

sasimsit do-not-reply at jboss.com
Thu Feb 14 06:41:30 EST 2008


Hi
I have big question like how to Automatic topic creation & deletion through EJBSessionBean, It can similer in Weblogic like   

    ht.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
            ht.put(Context.PROVIDER_URL, url);
            ht.put(Context.SECURITY_PRINCIPAL, user1);
	    ht.put(Context.SECURITY_CREDENTIALS, pass1);

iniCtx=new InitialContext(ht);

JMSModuleHelper.deleteTopic(iniCtx,"Module",topicName);

and as well as 
JMSModuleHelper.createTopic(iniCtx,"Module",jmsServer,topicName,topicName); 

If possible in JBOSS server side. please provide API and small sample peases. 


Best regards

P.Sasikumar
Ellaar ,Chennai




View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129369#4129369

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4129369



More information about the jboss-user mailing list