Sunday, 15 August 2010

Spring Integration JMX support not work -



Spring Integration JMX support not work -

as far know spring integration has out of box jmx support. documentation says can obtain numerous statistics regarding channels, routers, etc.

i have next configuration added spring context file:

<context:mbean-server /> <context:mbean-export/>

however, 1 element has been auto detected jmx exposure. simple delayer. have multiple flows defined , no more elements exposed through jmx. have no clue wrong.

are there other configuration changes need make?

thank help.

you need utilize <int-jmx:mbean-export> instead.

sorry short answer, there no more say, if have taken docs.

however here sample on matter.

update

h-m. no, wrong sample. see spring integration tests.

update2

<context:mbean-export/> registers mbeans spring beans @managedresource. <int-jmx:mbean-export> goes bit farther , wraps mbeans spring integration components: channels, messagehandlers, messagesources. , yes, adds them @managedmetrics.

jmx spring-integration spring-jmx

No comments:

Post a Comment