7.14. Testing the Credit CheckNow that we've deployed the JMS Queue and an MDB to run the credit check, let's test our application to ensure that everything still works properly. Here are the steps for building and deploying the application:
Click on the "Run Credit Check" link on the JAW Motors home page, enter data on the "Run Credit Check" form, and press the "Submit Credit Info" button. You should be routed back to the main page and see the following output on your JBoss console: ... 17:05:55,707 INFO [STDOUT] CreditCheckProcessorBean.onMessage( ): Received message. 17:05:55,707 INFO [STDOUT] Credit Check: 17:05:55,707 INFO [STDOUT] Name = [Fred] 17:05:55,707 INFO [STDOUT] SSN = [999999999999999] 17:05:55,707 INFO [STDOUT] Email = [fred@acme.org] 17:05:55,707 INFO [STDOUT] Verifying Credit ... 17:05:59,703 INFO [STDOUT] Credit Check Result = [Fail Credit Check] |