Sometimes it's simplest to have a human sit in front of the program and mark each test as pass or fail.
有时,最简单的方法是让一个人坐在程序前将每一个测试通过或失败的结果都标记下来。
The // ERROR comments in the listing mark the lines that fail to parse.
列表中的//ERROR 注释标识了无法解析的行。
If any step fails (for example, you fail to successfully mark the message as processed), you can rollback the JTA transaction and that message can be validly processed again.
如果任一步骤失败(例如,您没有成功将消息标记为“已处理”),您可以回滚到JTA事务,该消息可以被再次有效处理。
应用推荐