2 Replies Latest reply on Mar 1, 2012 1:51 AM by muralidharan a

    JBoss ESB message storing problem

    muralidharan a Newbie

      Hi,

       

         I am implementing JBossESB message store into my application.

       

        jboss-esb.xml code is

       

                          <action name="PersistAction" class="org.jboss.soa.esb.actions.MessagePersister"

                                          <property name="classification" value="test" />

                                           <property name="message-store-class" value="org.jboss.internal.soa.esb.persistence.format.db.DBMessageStoreImpl" />

                          </action>

       

                          <action class="org.jboss.soa.esb.actions.SystemPrintln" name="afterCompletion">

                                          <property name="message" value="After Completion" />

                           </action>

       

      The above MessagePersister code is working and the message was stored into my database. My problem is after complete that process the next print action is not working properly. It did not return any errors also.

       

      currently I am working in jbossesb-server-4.10.

       

      Thanks.

        • 1. Re: JBoss ESB message storing problem
          Tom Cunningham Master

          When you say it's not working properly, do you mean that you don't see any println?

           

          Based on what it sounds like you want to see, I'd suggest setting the terminal property to false on the MessagePersister :

           

                    <action name="PersistAction" class="org.jboss.soa.esb.actions.MessagePersister"

                                               <property name="terminal" value="false"/>

                                              <property name="classification" value="test" />

                                               <property name="message-store-class" value="org.jboss.internal.soa.esb.persistence.format.db.DBMessageStoreImpl" />

                    </action>

          • 2. Re: JBoss ESB message storing problem
            muralidharan a Newbie

            Hi Tom,

             

              Thanks for your reply. Its working fine now.