Created
November 18, 2011 16:01
-
-
Save james-carr/1376851 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MirroredQueue extends Queue{ | |
private static Map<String, Object> arguments = new HashMap<String,Object>(){ | |
{ | |
put("x-ha-policy", true); | |
} | |
}; | |
public MirroredQueue(String name) { | |
super(name,true,false,false,arguments); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment