Publish cmd uses type name

- [ ] @srobaudo @feliara8 @gmoskovicz 

updating Publish command to work with both messageBus.Publish methods.  also fixed a bug where we didn't pass a connection string on retry to open a sql connection