25.02.2015 Views

Introducing Spring Framework

Introducing Spring Framework

Introducing Spring Framework

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 11 ■ Integrating Your <strong>Spring</strong> Application with External Systems<br />

Figure 11-2. Creating a Queue Named mydocumentsQueue<br />

After creating the queue, you are going to actually send a message. Remember that you are going to simulate<br />

your friend sending a message with new document information, so you can pick up that message and save it into the<br />

database.<br />

To send a message on the web page (hawtio), you need to select the localhost node from the left side, then select<br />

Queue, and then choose the created queue (mydocumentsQueue). You will see several options; select Send, and it will<br />

show a dialog where you need to copy and paste the XML contents (from Listing 11-1). Figure 11-3 and 11-4 show how<br />

it’s done.<br />

147

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!