Skip to content

Commit

Permalink
ARTEMIS-2221 Fix Merge
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelandrepearce committed Jan 17, 2019
1 parent 3a0491b commit dac2ae6
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -123,7 +123,7 @@ public String getRoutingTypesAsJSON() throws Exception {
public String[] getQueueNames() throws Exception {
clearIO();
try {
Bindings bindings = postOffice.lookupBindingsForAddress(addressInfo.getName());
Bindings bindings = server.getPostOffice().lookupBindingsForAddress(addressInfo.getName());
if (bindings != null) {
List<String> queueNames = new ArrayList<>();
for (Binding binding : bindings.getBindings()) {
Expand All @@ -146,7 +146,7 @@ public String[] getQueueNames() throws Exception {
public String[] getBindingNames() throws Exception {
clearIO();
try {
Bindings bindings = postOffice.lookupBindingsForAddress(addressInfo.getName());
Bindings bindings = server.getPostOffice().lookupBindingsForAddress(addressInfo.getName());
if (bindings != null) {
String[] bindingNames = new String[bindings.getBindings().size()];
int i = 0;
Expand Down Expand Up @@ -235,7 +235,7 @@ public long getNumberOfMessages() throws Exception {
clearIO();
long totalMsgs = 0;
try {
Bindings bindings = postOffice.lookupBindingsForAddress(addressInfo.getName());
Bindings bindings = server.getPostOffice().lookupBindingsForAddress(addressInfo.getName());
if (bindings != null) {
for (Binding binding : bindings.getBindings()) {
if (binding instanceof QueueBinding) {
Expand Down

0 comments on commit dac2ae6

Please sign in to comment.