Red Hat Training
A Red Hat training course is available for Red Hat Fuse
216.4. サンプルルート
Spring XML で定義された次のルートは、コレクションに対して操作 dbStats を実行します。
指定されたコレクションの DB 統計を取得する
<route> <from uri="direct:start" /> <!-- using bean 'mongoBean' defined above --> <to uri="mongodb:mongoBean?database=${mongodb.database}&collection=${mongodb.collection}&operation=getDbStats" /> <to uri="direct:result" /> </route>