Skip to content
Browse files

HORNETQ-1070 - added check for null on binding

  • Loading branch information...
1 parent 720b935 commit 3f7cff47c28f69bb3a5a584ae2af13c56495c5ae @andytaylor committed Nov 2, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/main/org/hornetq/core/postoffice/impl/BindingsImpl.java
View
4 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 3f7cff4

Please sign in to comment.
Something went wrong with that request. Please try again.