ActiveMQConnection connection = broker.getConnection();
Session session = connection.createSession(false, 0);
ActiveMQTopic topic = new ActiveMQTopic("Test");
MessageConsumer consumer = session.createConsumer(topic);
NotifyDocument request = NotifyDocument.Factory.newInstance();
Notify notify = request.addNewNotify();
NotificationMessageHolderType messageHolder = notify.addNewNotificationMessage();
messageHolder.setTopic( TopicExpressionConverter.toTopicExpression(topic) );
XmlObject o = createMessage();
messageHolder.setMessage(o);