To create a durable subscription you need to set a client Id on the STOMP frame and use that same Id every time you connect. Then you need to set the durable subscription name on your subscribe as you have already worked out.
See the ActiveMQ Stomp Documentation.
You can find some good Stomp examples in the ActiveMQ Stomp unit tests as well, see testDurableUnsub in the StompTest.java