fix bug in code that retries creating sql connections
update publish to use both messageBus.Publish methods
Merge pull request #68 from daptiv/publish-cmd-uses-type-name

Publish cmd uses type name