adspace


What is jms and configuration details?

Answer Posted / Pramod Singh Gunjiyal

JMS (Java Message Service) is a Java API for messaging that provides a way to send and receive messages between applications. JMS allows communication between distributed applications in a platform-independent manner. Configuration details include setting up connection factories, destinations, and message selectors.nExample configuration for a JMS producer: nnProperties properties = new Properties();nproperties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jms.nonXA.WMQConnectionFactory" );nproperties.setProperty(Context.PROVIDER_URL, "tcp://localhost:7201" );nInitialContext initialContext = new InitialContext(properties);nJMSContext context = (JMSContext)initialContext.lookup("jms/__defaultConnectionFactory" );

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

No New Questions to Answer in this Category !!    You can

Post New Questions

Answer Questions in Different Category