set delivery mode when publishing
Merge pull request #13 from jonnii/transient-messages

Set delivery mode when publishing