BAEL-1018 - Introduction to MBassador (#2576)
* BAEL-1018 - Introduction to MBassador * BAEL-1018 - Introduction to MBassador. Add type for some of the MBassadors.
This commit is contained in:
parent
efbac53ec9
commit
da32a94d12
|
@ -13,7 +13,7 @@ import static org.junit.Assert.assertNotNull;
|
|||
|
||||
public class MBassadorAsyncDispatchTest {
|
||||
|
||||
private MBassador dispatcher = new MBassador();
|
||||
private MBassador dispatcher = new MBassador<String>();
|
||||
private String testString;
|
||||
private AtomicBoolean ready = new AtomicBoolean(false);
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ import static org.junit.Assert.assertFalse;
|
|||
|
||||
public class MBassadorAsyncInvocationTest {
|
||||
|
||||
private MBassador dispatcher = new MBassador();
|
||||
private MBassador dispatcher = new MBassador<Integer>();
|
||||
|
||||
private Integer testInteger;
|
||||
private String invocationThreadName;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -9,7 +9,7 @@ import static org.junit.Assert.*;
|
|||
|
||||
public class MBassadorHierarchyTest {
|
||||
|
||||
private MBassador dispatcher = new MBassador();
|
||||
private MBassador dispatcher = new MBassador<Message>();
|
||||
|
||||
private Message message;
|
||||
private AckMessage ackMessage;
|
||||
|
|
Loading…
Reference in New Issue