What's the Purpose of setting the clientID for JMS publisher / consumer?
问题 I understand that i need to set the clientId and subscription name when writing the jms topic subscriber for my durable topics. But Whats the purpose of setting the clientID when publishing the TOPIC ? I have seen people setting the client Id even for publisher / consumer, but no one explained that why it is required. ConnectionFactory conFactory = this.getConnectionFactory(); Connection connection = conFactory.createConnection(); connection.setClientID("WHATS_MY_PURPOSE"); // Why do we need