Hi ,
I am using SimpleMessageStore to store the messages and by default it stores in volatile memory but I want to configure it with the jdbc ...rite now below the configuration that I am using ...
Now I want to store the data of simple message store in my sql database Please guide me what changes I need to do in the above xml configuration for storing the data..!!Code:<task:scheduler id="scheduler" /> <task:scheduled-tasks scheduler="scheduler"> <task:scheduled ref="reaper1" method="run" fixed-rate="${reaperSchedulerFixedRate}" /> <task:scheduled ref="reaper2" method="run" fixed-rate="${reaperSchedulerFixedRate}" /> </task:scheduled-tasks> <bean id="reaper1" class="org.springframework.integration.store.MessageGroupStoreReaper"> <property name="messageGroupStore" ref="messageStore1" /> <property name="timeout" value="${reaperTimeOut}" /> </bean> <bean id="reaper2" class="org.springframework.integration.store.MessageGroupStoreReaper"> <property name="messageGroupStore" ref="messageStore2" /> <property name="timeout" value="${reaperTimeOut}" /> </bean> <bean id="messageStore1" class="org.springframework.integration.store.SimpleMessageStore" /> <bean id="messageStore2" class="org.springframework.integration.store.SimpleMessageStore" />![]()


Reply With Quote
please guide me ..!
