Skip to content

Commit 1bb419a

Browse files
author
Joerg Huber
committed
Added config for delayed.
1 parent 0c3ba79 commit 1bb419a

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

SIF3InfraREST/SIF3Demo/sif3-demo-web/src/test/java/sif3/test/infra/rest/consumer/TestStudentsInYearConsumer.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@
2020
public class TestStudentsInYearConsumer
2121
{
2222
private static final String CONSUMER_ID = "StudentConsumer";
23+
// private static final String CONSUMER_ID = "BrokeredAttTrackerConsumer";
24+
2325
private static final RequestType REQUEST_TYPE = RequestType.IMMEDIATE;
26+
// private static final RequestType REQUEST_TYPE = RequestType.DELAYED;
2427

2528
private StudentsInYearConsumer getConsumer()
2629
{
@@ -117,13 +120,13 @@ public static void main(String[] args)
117120
System.out.println("Consumer loaded successfully. Environment Data:\n"+ConsumerEnvironmentManager.getInstance().getEnvironmentInfo());
118121

119122
StudentsInYearConsumer consumer = tester.getConsumer();
120-
StudentsInYearConsumer consumer2 = tester.getConsumer();
123+
// StudentsInYearConsumer consumer2 = tester.getConsumer();
121124

122125
//
123126
// Get Students
124127
//
125128
tester.getStudentsInYear(consumer);
126-
tester.getStudentsInYear(consumer2);
129+
// tester.getStudentsInYear(consumer2);
127130

128131
// Put this agent to a blocking wait.....
129132
if (true)

0 commit comments

Comments
 (0)