0

私はかなり散発的に石英トリガーを使用して、mybatis select を呼び出しています。

from( "quartz:'once a minute' )
.pollEnrich( "mybatis://selectItems?statementType=SelectList" )
.process ( ...

選択は正しく表示され、sql-debugger パッドで正しく実行されます。(現在、テーブルが空であるため、結果は返されません)。

Quartz トリガーが呼び出されると、poll-enrich が開始され、エラーは報告されませんが、データベースで選択を継続的に再実行し続けます。終わりがないように見えます。ポーリングとポーリングを可能な限り高速に続けるだけです。プロセス ポイントに到達することはありません。何が問題なのか、この問題を回避する方法がわかりません。選択を複数回実行している理由...何かが失敗して再試行されるようですが、エラーメッセージは表示されず、通常、mybatis は非常に冗長でエラーが発生します

これを修正する方法がわかりません...

これは、ログのほんの一部のダンプです

DEBUG 2013-10-30 14:10:28,913 [EXEC] {Camel (camel-1) thread #7 - mybatis://selectItems} JdbcTransaction - Openning JDBC Connection

DEBUG 2013-10-30 14:10:28,913 [EXEC] {Camel (camel-1) thread #7 - mybatis://selectItems} JdbcTransaction - Resetting autocommit to true on JDBC Connection [jdbc:oracle:thin:@X:1234:Y, UserName=A, Oracle JDBC driver]

DEBUG 2013-10-30 14:10:28,913 [EXEC] {Camel (camel-1) thread #7 - mybatis://selectItems} JdbcTransaction - Closing JDBC Connection [jdbc:oracle:thin:@X:1234:Y, UserName=A, Oracle JDBC driver]

DEBUG 2013-10-30 14:10:29,428 [EXEC] {Camel (camel-1) thread #7 - mybatis://selectItems} JdbcTransaction - Openning JDBC Connection

DEBUG 2013-10-30 14:10:29,428 [EXEC] {Camel (camel-1) thread #7 - mybatis://selectItems} JdbcTransaction - Resetting autocommit to true on JDBC Connection [jdbc:oracle:thin:@X:1234:Y, UserName=A, Oracle JDBC driver]

DEBUG 2013-10-30 14:10:29,428 [EXEC] {Camel (camel-1) thread #7 - mybatis://selectItems} JdbcTransaction - Closing JDBC Connection [jdbc:oracle:thin:@X:1234:Y, UserName=A, Oracle JDBC driver]

DEBUG 2013-10-30 14:10:29,944 [EXEC] {Camel (camel-1) thread #7 - mybatis://selectItems} JdbcTransaction - Openning JDBC Connection

DEBUG 2013-10-30 14:10:29,944 [EXEC] {Camel (camel-1) thread #7 - mybatis://selectItems} JdbcTransaction - Resetting autocommit to true on JDBC Connection [jdbc:oracle:thin:@X:1234:Y, UserName=A, Oracle JDBC driver]

DEBUG 2013-10-30 14:10:29,944 [EXEC] {Camel (camel-1) thread #7 - mybatis://selectItems} JdbcTransaction - Closing JDBC Connection [jdbc:oracle:thin:@X:1234:Y, UserName=A, Oracle JDBC driver]
DEBUG 2013-10-30 14:10:30,460 [DBIM] {Camel (camel-1) thread #7 - mybatis://selectItems} JdbcTransaction - Openning JDBC Connection

DEBUG 2013-10-30 14:10:30,460 [EXEC] {Camel (camel-1) thread #7 - mybatis://selectItems} JdbcTransaction - Resetting autocommit to true on JDBC Connection [jdbc:oracle:thin:@X:1234:Y, UserName=A, Oracle JDBC driver]

DEBUG 2013-10-30 14:10:30,460 [EXEC] {Camel (camel-1) thread #7 - mybatis://selectItems} JdbcTransaction - Closing JDBC Connection [jdbc:oracle:thin:@X:1234:Y, UserName=A, Oracle JDBC driver]
4

1 に答える 1

0

pollEnrich の代わりにエンリッチを使用する

于 2013-10-30T17:25:14.570 に答える