HornetQ Messaging Developer?s Guide.
Chapter 3: Basic Coding with HornetQ: Creating and Consuming Messages; Installing Eclipse on Windows; Installing NetBeans on Windows; Installing NetBeans on Linux; Post installation; A 10,000 foot view of HornetQ; Thinking, then coding; The HornetQ core API example; Preparing your development enviro...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Pub.,
2012.
|
Colección: | Community experience distilled.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- HornetQ Messaging Developer's Guide; HornetQ Messaging Developer's Guide; Credits; About the Author; About the Reviewers; www.PacktPub.com; Support files, eBooks, discount offers and more; Why Subscribe?; Free Access for Packt account holders; Instant Updates on New Packt Books; Preface; What this book covers; What you need for this book; Who this book is for; Conventions; Reader feedback; Customer support; Downloading the example code; Errata; Piracy; Questions; 1. Getting Started with HornetQ; A quick introduction to HornetQ; Introduction to our fictional example.
- Installation and configuration of the environmentA word on the OS; Downloading the software; Installing HornetQ; Installing HornetQ on Linux/Unix/Mac the easy way; Installing Eclipse; Installing and configuring MongoDB; Configuring the Eclipse IDE for HornetQ; Coding our first example; Class fields; Initializing the context; Creating and opening the connection; Producing the message; Consuming the message; Connecting to MongoDB; Storing to MongoDB; Closing everything; Summary; 2. Setting Up HornetQ; Which HornetQ version do I need?; What about the cloud?; A word on the operating system.
- The HornetQ core API examplePreparing your development environment; Creating a shared core API connection; Creating and sharing a HornetQ session; Coding a client consumer; Testing the first message sent; Coding the HornetQ core API consumer; Putting everything together; Final considerations; Have you done your math?; Summary; 4. Monitoring HornetQ; Managing HornetQ using the core API; Configuring the environment; Before using the management core API classes; First example using the core; JMS management API; Calling the JMS management API; Managing clients using JMX; Setting up the server.
- Listing all the clients connected to a queue using JMXSummary; 5. Some More Advanced Features of HornetQ; Managing large messages with HornetQ; Managing large messages using JMS; Managing large messages using the core API; Managing undelivered messages; Delay in redelivery; Dead letter address; Message priority; Summary; 6. Clustering with HornetQ; First cluster with two different nodes; Creating two nodes; Configuring the nodes; Running both the nodes; Coding a message producer and consumer on a cluster; Creating a sharing queue on a HornetQ cluster; Configuring the environment.