added IDE stuff to .gitignore
added additional check to set property if queue or exchange is declared