## In Process : Producer : Where is your action scheduled?

This section is used to specify the method in the class which acts as an exit point for that Tier.

- Example 1

package com.packagename;
public class ProducerClassName {
private void startTransaction() {
CustomPayload customPayload = new CustomPayload("Message");
exitPoint(customPayload);
}

private void exitPoint(CustomPayload payload, Queue queue) {
queue.add(payload);
}

}

In the example above the method 'exitPoint(CustomPayload payload, Stream outputStream)' of class 'com.packagename.ProducerClassName' is the place where the action is scheduled.

Values to put in this section of the tool for the above example:
Match Type: Matches Class
Full Class Name: com.yourpackagename.ProducerClassName
Method Name: exitPoint
Method Parameters: CustomPayload payload, Queue queue