first draft of jms client