if (!acceptingProposals) {
logger.debug("No more proposals allowed.");
return;
}
prop.setRoleId(participant);
RoleMessage proposal = new RoleMessage();
proposal.setContents(prop);
proposal.setRoleSender(participant);
proposal.setRoleReceiver(initiator);
proposal.setPerformative(ACLMessage.PROPOSE);
send(proposal);
try {
assertFact(new Fact("propose", participant, prop));
createCommitment(new Commitment(participant, initiator, new Fact("accept"), new CompositeExpression(