quick fix to enable using different exchange types
Merge pull request #19 from pwyliu/master

Using different exchange types