Skip to content

Commit

Permalink
fix(ActiveMQPolicy): remove erroneous message about default idle
Browse files Browse the repository at this point in the history
A bug in our code indicated to me that ActiveMQ was not respecting
idle timeouts that we sent. This is not the case, but I am still
leaving the ActiveMQ policy in place in the event we find a need
for it in the future.
  • Loading branch information
mbroadst committed Oct 22, 2015
1 parent 4e4b512 commit 3914a63
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions lib/policies/activemq_policy.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,6 @@ var u = require('../utilities'),
DefaultPolicy = require('./default_policy');

module.exports = u.deepMerge({
defaultSubjects: false,

connect: {
options: {
// By default ActiveMQ uses 30s for its idle timeout. The broker does not
// seem to honor a change to this value from the client side, and also does
// not send back that value as part of the handshake (it just returns
// whatever value we sent, without honoring that value)
idleTimeout: 30000,
}
}

defaultSubjects: false
}, DefaultPolicy);

0 comments on commit 3914a63

Please sign in to comment.