Announcement Announcement Module
No announcement yet.
websphere workmanger configuration in DefaultMessagelistenerContainer Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • websphere workmanger configuration in DefaultMessagelistenerContainer

    Can anybody please provide the below spring configuration. 1. need to configure websphere workmanger for task executor.
    2. use this task executor in Default MeassageListenerContainer
    3. cache level in Default MeassageListenerContainer required is CONSUMER
    4. Dont require any transaction Manamgement on Default MeassageListenerContainer

    Please help me to achieve this. I tried with below configuration but I DONT REQUIRE transactions. Here in the below code if i dont proivde transactionamanager in DefaultMessageListenerContainer102 I am getting connection closed error.

    <bean id="taskExecutor" class="org.springframework.scheduling.commonj.Work ManagerTaskExecutor">
    <property name="workManagerName" value="wm/COMMON_WORKMGR"/>
    <property name="resourceRef" value="false"/>
    <bean id="transactionManager" class="org.springframework.transaction.jta.WebSphe reUowTransactionManager" />
    <bean id="ursOLTlistenerContainer" class="com.citigroup.citiwatch.mdb.DefaultMessageL istenerContainer102">
    <property name="connectionFactory" ref="connectionFactory2" />
    <property name="destinationResolver" ref="qfdestinationResolver2" />
    <property name="destinationName" value="ltDestination" />
    <property name="messageListener" ref="LTMsgListener" />
    <property name="recoveryInterval" value="60000" />
    <property name="concurrentConsumers" value="5"/>
    <property name="maxConcurrentConsumers" value="10"/>
    <property name="transactionManager" ref="transactionManager" />
    <property name="taskExecutor" ref="taskExecutor"/>

    Devi Naga Sudhakar