1 2 Previous Next 18 Replies Latest reply on Jul 14, 2007 6:32 PM by Burr Sutter

    HelloWorld_Action Explanation PLEASE !!!

    S K Newbie

      I am totally new to ESB . Can some one please explain what this example actually does. My doubts

      1) Why does the readme text say
      - Start the listener run running "ant".
      - Shutdown the listener by simply using Ctrl-C in that window.

      What is the point in starting and immediately stopping the listener?

      2) How to check an outbound queue: quickstart_helloworld_action_Response

      3) What is an inbound message ?

      It would really helpful if you could clarify ! thanks !!

        • 1. Re: HelloWorld_Action Explanation PLEASE !!!
          Burr Sutter Master

          You don't have to shut it down if you don't wish to. Feel free to leave it up.

          You can view what is in "quickstart_helloworld_action_Response" via the JMX console.

          http://localhost:8080/jmx-console
          Scroll down until you find quickstart_helloworld_action_Response
          Click on that link
          You'll then see a page that allows you to interact with the queue's properties
          Click on listMessages or listAllMessages

          Keep in mind that an ESB is mediation middleware. You still need to build GUIs for your users to interact with the middleware. So in the real world you would build a message producer (e.g. order entry system that submits an order) and a message consumer (e.g. a fulfillment system that printed the order for the warehouse & shipping clerks).

          Burr

          • 2. Re: HelloWorld_Action Explanation PLEASE !!!
            S K Newbie

            i dont find listMessages or listAllMessages in quickstart_helloworld_action_Response

            • 3. Re: HelloWorld_Action Explanation PLEASE !!!
              Burr Sutter Master

              Unfortunately it is harder to attach a screenshot to this forum posting that I would like.

              Note: "quickstart_helloworld_action_Response" likely shows up 2 or 3 times in the main jmx-console page. Make sure to drill down on all the links that you find that have "hellworld" in them.

              It should be under a heading like "jboss.mq.destination" and it should have some neighboring links that look like
              "name=A,service=queue"

              When you find the right link you then have a list of attributes like:
              InMemory
              State
              RedeliveryDelay
              QueueDepth

              Scroll through the list of "operations" or method names until you find
              "listMessages()" (just use your browser search feature - Ctrl-F).

              • 4. Re: HelloWorld_Action Explanation PLEASE !!!
                S K Newbie

                thanks for your reply !

                Can you please explain how to run jUDDI registry in Mysql and to connect
                directly to the database to register the component

                • 5. Re: HelloWorld_Action Explanation PLEASE !!!
                  Mark Little Master

                  MySQL is not one of our supported backends at this time. For jUDDI specific requests, please go to the jUDDI forums.

                  • 6. Re: HelloWorld_Action Explanation PLEASE !!!
                    toby saville Novice

                    Why isnt MySQL supported for jUDDI? I thought you guys have supplied the SQL scripts to create the schema - doesnt that mean its supported?

                    I have jUDDI running persisting to MySQL. or am i not understanding what you mean as "supported"

                    thanks,
                    toby

                    • 7. Re: HelloWorld_Action Explanation PLEASE !!!
                      Mark Little Master

                      MySQL is not one of the supported databases for the ESB. This means that if you have any problems with an unsupported database then we are unlikely to address them between releases.

                      As I said: if your request is specifically about jUDDI support for MySQL then take it to the jUDDI forums.

                      • 8. Re: HelloWorld_Action Explanation PLEASE !!!
                        toby saville Novice

                        i guess im just not clear on what you mean by supported as an ESB database. i would have assumed that it is supported as an jUDDI database (the original question) as there are supplied SQL scripts in

                        jbossesb-src\product\install\jUDDI-registry\sql\mysql

                        or does having sql scripts not necessarily mean that database is supported. if this is the case, where can i find a list of supported databases?

                        • 9. Re: HelloWorld_Action Explanation PLEASE !!!
                          Kurt Stam Master

                          Hi Toby,

                          Just add/change the datasource for the juddiDB in the jbossesb.sar, and changes the references to which creation and insert scripts are used in the jbossesb.sar/META-INF/jboss-service.xml. This section:

                          <mbean code="org.jboss.internal.soa.esb.dependencies.DatabaseInitializer"
                           name="jboss.esb:service=JuddiDatabaseInitialization">
                           <attribute name="Datasource">java:/juddiDB</attribute>
                           <attribute name="ExistsSql">select * from BUSINESS_ENTITY</attribute>
                           <attribute name="SqlFiles">
                           juddi-sql/hsqldb/create_database.sql,
                           juddi-sql/hsqldb/insert_publishers.sql
                           </attribute>
                           <depends>jboss.jca:service=DataSourceBinding,name=juddiDB</depends>
                           </mbean>
                          


                          Just change 'hsqldb'to 'mysql'

                          Good luck,

                          --Kurt

                          • 10. Re: HelloWorld_Action Explanation PLEASE !!!
                            toby saville Novice

                            cool, thanks for your help guys

                            • 11. Re: HelloWorld_Action Explanation PLEASE !!!
                              Mark Little Master

                               

                              "tobysaville" wrote:
                              i guess im just not clear on what you mean by supported as an ESB database. i would have assumed that it is supported as an jUDDI database (the original question) as there are supplied SQL scripts in

                              jbossesb-src\product\install\jUDDI-registry\sql\mysql

                              or does having sql scripts not necessarily mean that database is supported. if this is the case, where can i find a list of supported databases?


                              Official support (where you pay for support) has a support matrix. That will be available closer to the time we go GA. That will not include everything within the ESB. This means that for everything else you can try the forums and we'll do a best effort, but there will be no guarantees that fixes can be made available within a specific time period.

                              As for what jUDDI supports: that's a 3rd party component and you need to talk to the people who maintain that. Just as you would with other 3rd party components.

                              • 12. Re: HelloWorld_Action Explanation PLEASE !!!
                                toby saville Novice

                                thanks for the clarification Mark, thats the answer i was looking for.

                                where can i find out more information regarding paid support for the ESB?

                                thanks, toby

                                • 13. Re: HelloWorld_Action Explanation PLEASE !!!
                                  Mark Little Master

                                  Once we go GA we should be making some announcements around how to get support. There won't be support for the baseline ESB: you'll need to get support for the SOA Platform, which is essentially the ESB with additional capabilities.

                                  • 14. Re: HelloWorld_Action Explanation PLEASE !!!
                                    Burr Sutter Master

                                    Toby,

                                    Please contact me offline to discuss support. I would love to hear more about your project and how you are using the JBoss ESB.

                                    I promise not to "sell" you anything that you wouldn't be interested in. :-)

                                    Burr

                                    1 2 Previous Next