org.apertereports.backbone.jms
Class BackgroundOrderProcessor
java.lang.Object
org.apertereports.backbone.jms.BackgroundOrderProcessor
- All Implemented Interfaces:
- javax.jms.MessageListener
public class BackgroundOrderProcessor
- extends Object
- implements javax.jms.MessageListener
A MessageListener implementation that asynchronously receives generation orders.
It then pushes the id of the resulting report order back to JMS for further processing.
|
Method Summary |
void |
onMessage(javax.jms.Message message)
The method generates a new jasper report on message which contains the id of the report order to process. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BackgroundOrderProcessor
public BackgroundOrderProcessor()
onMessage
public void onMessage(javax.jms.Message message)
- The method generates a new jasper report on message which contains the id of the report order to process.
On successful generation the id result is pushed to JMS. If the recipient email address of the report order
was set the generated report is send via email.
- Specified by:
onMessage in interface javax.jms.MessageListener
- Parameters:
message - A JMS message- See Also:
MessageListener.onMessage(javax.jms.Message)
Copyright © 2011. All Rights Reserved.