.
Provider - org.glassfish.openesb.pojose.api.annotation.Provider
A class level annotation used to designate a Java class as POJO service.
Operation - org.glassfish.openesb.pojose.api.annotation.Operation
A method level annotation used to designate a operation as POJO service method.
ConsumerEndpoint - org.glassfish.openesb.pojose.api.annotation.ConsumerEndpoint
A field level annotation to designate field of type org.glassfish.openesb.pojose.api.Consumer. POJO SE will inject this instance before calling POJO operation method.
Resource - org.glassfish.openesb.pojose.api.annotation.Resource
A field level annotation to designate field of type org.glassfish.openesb.pojose.api.res.Context. POJO SE will inject instance before calling POJO operation method.
OnReply - org.glassfish.openesb.pojose.api.annotation.OnReply
A method level annotation used to designate a method to be invoked when reply message from JBI Service called asynchronously is received.
Note fault and error messages are only handled by methods annotated with OnFault and OnError and will not get routed to method annotated with OnReply.
If user does not have OnFault or OnError annotated methods, faults or error messages are ignored after they are logged at Severe level.
OnDone - org.glassfish.openesb.pojose.api.annotation.OnDone
A method level annotation used to designate a method to be invoked when all the outstanding reply messages from JBI Services called asynchronously are received.
OnError - org.glassfish.openesb.pojose.api.annotation.OnError
A method level annotation used to designate a method to be invoked when asynchronous JBI Services call results in JBI error status.
Note fault and error messages are only handled by methods annotated with OnFault and OnError and will not get routed to method annotated with OnReply.
If user does not have OnFault or OnError annotated methods, faults or error messages are ignored after they are logged at Severe level.
OnFault - org.glassfish.openesb.pojose.api.annotation.OnFault
A method level annotation used to designate a method to be invoked when asynchronous JBI Services call results in JBI fault status.
Note fault and error messages are only handled by methods annotated with OnFault and OnError and will not get routed to method annotated with OnReply.
If user does not have OnFault or OnError annotated methods, faults or error messages are ignored after they are logged at Severe level.
@Resource
org.glassfish.openesb.pojose.api.res.Context jbiCtx;
...
public String someOperation(String inp){
...
javax.naming.InitialContext context = jbiCtx.getNamingContext();
DataSource ds = (DataSource) context.lookup("jdbc/sampleDerbyXA");
...
}
...
POJO SE internally uses ThreadPoolExecutor
to process incoming MessageExchanges.
Below ThreadPoolExecutor parameters can be configured thru POJO SE MBeans.
| Parameter | Description |
|---|---|
| CoreThreadPoolSize | Number of core threads in ThreadPoolExecutor for processing inbound messages. |
| MaxThreadPoolSize | Maximum number of threads in ThreadPoolExecutor for processing inbound messages. |
| ThreadPoolBlockingQueueSize | hread pool blocking queue size. |
.
This page (revision-37) was last changed on
06-Nov-09 17:31 PM, -0800
by GirishPatil.
This page was created on
18-Sep-08 09:39 AM, -0700 by GirishPatil.
| Version | Date | Author | Size | Changes ... |
|---|---|---|---|---|
| 37 | 06-Nov-09 17:31 PM, -0800 | GirishPatil | 8782 | to previous |
| 36 | 06-Nov-09 17:30 PM, -0800 | GirishPatil | 8781 | to previous | to last |
| 35 | 04-Sep-09 15:46 PM, -0700 | GirishPatil | 8663 | to previous | to last |
| 34 | 04-Sep-09 15:43 PM, -0700 | GirishPatil | 8669 | to previous | to last |
| 33 | 04-Sep-09 15:42 PM, -0700 | GirishPatil | 8669 | to previous | to last |
| 32 | 25-Aug-09 14:11 PM, -0700 | GirishPatil | 8519 | to previous | to last |
| 31 | 25-Aug-09 14:08 PM, -0700 | GirishPatil | 8471 | to previous | to last |
| 30 | 25-Aug-09 14:01 PM, -0700 | GirishPatil | 7930 | to previous | to last |
| 29 | 25-Aug-09 13:50 PM, -0700 | GirishPatil | 7890 | to previous | to last |
| 28 | 24-Aug-09 09:56 AM, -0700 | GirishPatil | 7047 | to previous | to last |
| 27 | 24-Aug-09 09:55 AM, -0700 | GirishPatil | 7027 | to previous | to last |
| 26 | 07-Jul-09 23:37 PM, -0700 | GirishPatil | 6939 | to previous | to last |
| 25 | 07-Jul-09 23:33 PM, -0700 | GirishPatil | 6938 | to previous | to last |
| 24 | 07-Jul-09 15:24 PM, -0700 | GirishPatil | 6885 | to previous | to last |
| 23 | 07-Jul-09 14:10 PM, -0700 | GirishPatil | 6782 | to previous | to last |
| 22 | 07-Jul-09 14:08 PM, -0700 | GirishPatil | 6435 | to previous | to last |
| 21 | 07-Jul-09 14:06 PM, -0700 | GirishPatil | 6426 | to previous | to last |
| 20 | 07-Jul-09 14:03 PM, -0700 | GirishPatil | 6390 | to previous | to last |
