|
Sonic ESB API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sonicsw.xq.service.cbr.CBRService
public class CBRService
Constructor Summary | |
---|---|
CBRService()
Default contructor for the CBRService. |
Method Summary | |
---|---|
void |
destroy()
Destroys the CBRService. |
void |
init(XQInitContext initialContext)
Initializes the CBRService with the init params from its configuration. |
void |
service(XQServiceContext ctx)
Provides the Routing service. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CBRService()
Method Detail |
---|
public void init(XQInitContext initialContext) throws XQServiceException
init
in interface XQService
initialContext
- The init time parameters.
XQServiceException
- if an error is encountered during
initializationpublic void destroy()
destroy
in interface XQService
public void service(XQServiceContext ctx) throws XQServiceException
service
in interface XQService
ctx
- The ServiceContext object which contains the incoming
message within an envelope in its INBOX. If this method is successful,
the message will have a new set of Routing addresses on its envelope
and it would be placed in the OUTBOX of the ServiceContext. In case
of a failure, the service throws an Exception and the message gets sent
to the RejectedMessageEndpoint, configured for this service.
XQServiceException
- In the event of some failure.
|
Sonic ESB API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |