try {
tc = topicConnectionFactory().createTopicConnection();
ts = tc.createTopicSession (true, 0);
TopicPublisher sndr = ts.createPublisher (channelOutTopic());
sndr.setDisableMessageID (true);
Message msg = ts.createMessage();
String processKey = ((Long)ctx.getPrimaryKey()).toString();
msg.setStringProperty ("processKey", processKey);
msg.setStringProperty ("messageType", "CLOSE_NOTIFICATION");
sndr.publish(msg);
sndr.close();