Jms Sender code that sends message to JMS topic ( Weblogic ) + Linux
TopicSender.java : import javax.jms.*; import javax.naming.*; public class TopicPublisher { public static void main(String[] args) throws Exception { // Obtain a JNDI connection using the WebLogic JNDI provider InitialContext context = new InitialContext(); // Look up the JMS topic Topic topic = (Topic) context.lookup("jms/demoTopic"); // Look up a JMS connection factory ConnectionFactory connectionFactory = (ConnectionFactory) context.lookup("jms/DemoTopicConnectionFactory"); // Create a JMS connection Connection connection = connectionFactory.createConnection(); // Create a JMS session Session session = connection.createSession(false, Sessi...