private JsonObject createTask(JsonSimple response, String broker,
			String oid, String task) {
		JsonObject object = newMessage(response,
				TransactionManagerQueueConsumer.LISTENER_ID);
		if (broker != null) {
			object.put("broker", broker);
		}
		JsonObject message = (JsonObject) object.get("message");
		message.put("task", task);
		message.put("oid", oid);
		return message;
	}
private JsonObject createTask ( JsonSimple response , String broker , String oid , String task ) { JsonObject object = newMessage ( response , TransactionManagerQueueConsumer . LISTENER_ID ) ; if ( broker != null ) { object . put ( "broker" , broker ) ; } JsonObject message = ( JsonObject ) object . get ( "message" ) ; message . put ( "task" , task ) ; message . put ( "oid" , oid ) ; return message ; }
Create a task. This is a more detailed option allowing for tasks being
sent to remote brokers.

@param response
The response to edit
@param broker
The broker URL to use
@param oid
The object to schedule for clearing
@param task
The task String to use on receipt
@return JsonObject Access to the 'message' node of this task to provide
further details after creation.