// Associate with the OperationId.
msgDb.insertProcessDataElement(msgId, "OperationID", new DataElement((int) operationId));
// Tell the engine to execute and commit.
msgDb.flagMessageForExecution(msgId);
idbConnection.commit();
msgDbConnection.commit();
} catch (SQLException e) {
throw new MessagingException("SQL Exception occurred when inserting message into process queue: "
+ e.getMessage(), e);