msg.setDestination(destination);
msg.setClientId(clientID);
msg.setMessageId(UUIDUtils.createUUID(false));
msg.setTimestamp(System.currentTimeMillis());
msg.setBody(message);
msgBroker.routeMessageToService(msg, null);
}
public void publishMessageWithHeader(String destination, String message, String headerName, String headerValue)
{
MessageBroker msgBroker = getMessageBroker();