|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectse.citerus.dddsample.infrastructure.messaging.jms.CargoHandledConsumer
public class CargoHandledConsumer
Consumes JMS messages and delegates notification of misdirected cargo to the tracking service. This is a programmatic hook into the JMS infrastructure to make cargo inspection message-driven.
| Constructor Summary | |
|---|---|
CargoHandledConsumer()
|
|
| Method Summary | |
|---|---|
void |
onMessage(javax.jms.Message message)
|
void |
setCargoInspectionService(CargoInspectionService cargoInspectionService)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CargoHandledConsumer()
| Method Detail |
|---|
public void onMessage(javax.jms.Message message)
onMessage in interface javax.jms.MessageListenerpublic void setCargoInspectionService(CargoInspectionService cargoInspectionService)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||