{"action":"created","issue":{"url":"https://api.github.com/repos/Bluelock/camel-spring-amqp/issues/66","labels_url":"https://api.github.com/repos/Bluelock/camel-spring-amqp/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/Bluelock/camel-spring-amqp/issues/66/comments","events_url":"https://api.github.com/repos/Bluelock/camel-spring-amqp/issues/66/events","html_url":"https://github.com/Bluelock/camel-spring-amqp/issues/66","id":102909886,"number":66,"title":"create exchange seems to be invoked every time a message is produced","user":{"login":"laureate-gmaurizio","id":13953039,"avatar_url":"https://avatars.githubusercontent.com/u/13953039?v=3","gravatar_id":"","url":"https://api.github.com/users/laureate-gmaurizio","html_url":"https://github.com/laureate-gmaurizio","followers_url":"https://api.github.com/users/laureate-gmaurizio/followers","following_url":"https://api.github.com/users/laureate-gmaurizio/following{/other_user}","gists_url":"https://api.github.com/users/laureate-gmaurizio/gists{/gist_id}","starred_url":"https://api.github.com/users/laureate-gmaurizio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laureate-gmaurizio/subscriptions","organizations_url":"https://api.github.com/users/laureate-gmaurizio/orgs","repos_url":"https://api.github.com/users/laureate-gmaurizio/repos","events_url":"https://api.github.com/users/laureate-gmaurizio/events{/privacy}","received_events_url":"https://api.github.com/users/laureate-gmaurizio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-24T23:05:02Z","updated_at":"2015-08-25T06:06:05Z","closed_at":null,"body":"whenever we produce a new message, we get a log entry\r\nINFO  Using default exchange of type TopicExchange\r\nindicating that the doStart process and attempt at creating the exchange seems to be invoked every time.\r\nThis happens regardless of the exchange type."},"comment":{"url":"https://api.github.com/repos/Bluelock/camel-spring-amqp/issues/comments/134491179","html_url":"https://github.com/Bluelock/camel-spring-amqp/issues/66#issuecomment-134491179","issue_url":"https://api.github.com/repos/Bluelock/camel-spring-amqp/issues/66","id":134491179,"user":{"login":"drasil","id":5049759,"avatar_url":"https://avatars.githubusercontent.com/u/5049759?v=3","gravatar_id":"","url":"https://api.github.com/users/drasil","html_url":"https://github.com/drasil","followers_url":"https://api.github.com/users/drasil/followers","following_url":"https://api.github.com/users/drasil/following{/other_user}","gists_url":"https://api.github.com/users/drasil/gists{/gist_id}","starred_url":"https://api.github.com/users/drasil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drasil/subscriptions","organizations_url":"https://api.github.com/users/drasil/orgs","repos_url":"https://api.github.com/users/drasil/repos","events_url":"https://api.github.com/users/drasil/events{/privacy}","received_events_url":"https://api.github.com/users/drasil/received_events","type":"User","site_admin":false},"created_at":"2015-08-25T06:06:05Z","updated_at":"2015-08-25T06:06:05Z","body":"Hi. I do not see the value of this log entry, but it does not say and mean that there is an attempt to declare the exchange in the broker. In fact the opposite is true - the exchange is declared when it is not the default exchange (see the SpringAMQPProducer.doStart() method). And by the way the default exchange is always of the \"direct\" type."}}