Permalink
Browse files

HORNETQ-1070 - added check for null on binding

  • Loading branch information...
1 parent e535365 commit 60de0ab8ac39780a2d85fc0375834b084a7eb085 @andytaylor committed Nov 2, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/main/org/hornetq/core/postoffice/impl/BindingsImpl.java
@@ -456,6 +456,10 @@ private void routeUsingStrictOrdering(final ServerMessage message,
{
// ok lets find the next binding to propose
Binding theBinding = getNextBinding(message, routingName, bindings);
+ if(theBinding == null)
+ {
+ continue;
+ }
// TODO https://jira.jboss.org/jira/browse/HORNETQ-191
resp = groupingGroupingHandler.propose(new Proposal(fullID, theBinding.getClusterName()));

0 comments on commit 60de0ab

Please sign in to comment.