Skip to content

Commit

Permalink
BAEL-1018 - Introduction to MBassador (eugenp#2576)
Browse files Browse the repository at this point in the history
* BAEL-1018 - Introduction to MBassador

* BAEL-1018 - Introduction to MBassador. Add type for some of the MBassadors.
  • Loading branch information
egoebelbecker authored and maibin committed Sep 7, 2017
1 parent efbac53 commit da32a94
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

public class MBassadorAsyncDispatchTest {

private MBassador dispatcher = new MBassador();
private MBassador dispatcher = new MBassador<String>();
private String testString;
private AtomicBoolean ready = new AtomicBoolean(false);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

public class MBassadorAsyncInvocationTest {

private MBassador dispatcher = new MBassador();
private MBassador dispatcher = new MBassador<Integer>();

private Integer testInteger;
private String invocationThreadName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ public class MBassadorConfigurationTest implements IPublicationErrorHandler {

@Before
public void prepareTests() {
dispatcher = new MBassador(this);
dispatcher.subscribe(this);

dispatcher = new MBassador<String>(this);
dispatcher.subscribe(this);
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

public class MBassadorHierarchyTest {

private MBassador dispatcher = new MBassador();
private MBassador dispatcher = new MBassador<Message>();

private Message message;
private AckMessage ackMessage;
Expand Down

0 comments on commit da32a94

Please sign in to comment.