Sun POJO Service Engine User's Guide

Configuring Runtime Properties for the POJO Service Engine

The POJO SE Properties Editor allows you to view information about the service engine, configure threading properties, view statistics on the runtime components, and set log levels for various POJO SE components.

The following topics provide instructions for configuring the runtime properties and a reference of the available properties:

ProcedureTo Configure POJO SE Runtime Properties

  1. From the Services window of the NetBeans IDE, expand the Servers node.

  2. If the application server is not already started, right-click the server and then select Start.

  3. Under the application server, expand JBI and expand Service Engines.

  4. If the POJO SE is not started, right-click sun–pojo–engine and then select Start.

  5. Right-click sun–pojo–engine and then select Properties.

    The Properties Editor appears.

    Figure shows the POJO SE runtime Properties Editor.
  6. Modify any of the properties listed in POJO Service Engine Runtime Property Descriptions.


    Note –

    Statistic properties are automatically updated by the POJO SE. You do not need to modify these properties.


  7. To apply the changes, stop and restart the POJO SE.

POJO Service Engine Runtime Property Descriptions

The following table lists and describes each POJO Service Engine runtime property.

Table 5 POJO SE General Runtime Properties

Property 

Description 

Description 

A general description of the JBI component. 

Name 

A unique name for the POJO SE in the JBI environment. If you install more than one POJO Service Engine in a JBI environment, make sure that each has a unique name. When the service unit deploys the component, it is matched with the target component name defined in its descriptor file, jbi.xml, which can be modified as needed.

State 

The current state of the JBI component. This value can be either Started, Stopped, or Shutdown. 

Type 

The type of JBI component (service-engine or binding-component). 

Table 6 POJO SE Identification Runtime Properties

Property 

Description 

Version 

The version number of the installed service engine. 

Build Number 

The build number of the installed service engine. 

Table 7 POJO SE Configuration Runtime Properties

Property 

Description 

Default Value 

Core Thread Pool Size 

The number of core threads in the thread pool executor for processing inbound messages. 

15 

Max Thread Pool Size 

The maximum number of threads in the thread pool executor for processing inbound messages. 

50 

Thread Pool Blocking Queue Size 

The number of thread for the blocking queue. 

50 

Table 8 POJO SE Runtime Statistics

Property 

Description 

Activated Endpoints 

The number of activated endpoints. 

Active Exchanges 

The number of active exchanges. 

Avg. Component Time 

The average message exchange component time in milliseconds. 

Avg. D.C. Time 

The average message exchange delivery channel time in milliseconds. 

Avg. Msg. Service Time 

The average message exchange message service time in milliseconds. 

Avg. Response Time 

The average message exchange response time in milliseconds. 

Completed Exchanges 

The total number of completed exchanges. 

Error Exchanges 

The total number of error exchanges. 

Received Dones 

The total number of received dones. 

Received Errors 

The total number of received errors. 

Received Faults 

The total number of received faults. 

Received Replies 

The total number of received replies. 

Received Requests 

The total number of received requests. 

Sent Dones 

The total number of sent dones. 

Sent Errors 

The total number of sent errors. 

Sent Faults 

The total number of sent faults. 

Sent Replies 

The total number of sent replies. 

Sent Requests 

The total number of sent requests. 

Up Time 

The up time of this component in milliseconds. 

The Loggers properties specify the level of logging for each event. You can set the logging level for each logger to any of the following levels:

By default, these are all set to the INFO level.

Table 9 POJO SE Logger Runtime Properties

Property 

POJO Component 

sun-pojo-engine 

org.glassfish.openesb.pojose 

DeploymentLookup 

org.glassfish.openesb.pojose.com.sun.jbi.common.qos.descriptor.DeploymentLookup 

MessagingChannel 

org.glassfish.openesb.pojose.com.sun.jbi.common.qos.messaging.MessagingChannel 

PojoSE Annotation Processor 

org.glassfish.openesb.pojose.core.anno.processor.POJOAnnotationProcessor 

PojoSE Util 

org.glassfish.openesb.pojose.core.util.Util 

PojoSE Bootstrap 

org.glassfish.openesb.pojose.jbi.PojoSEBootstrap 

PojoSE Component Manager 

org.glassfish.openesb.pojose.jbi.PojoSEComponentManager 

PojoSEConfiguration 

org.glassfish.openesb.pojose.jbi.PojoSEConfiguration 

PojoSE Life Cycle 

org.glassfish.openesb.pojose.jbi.PojoSELifeCycle 

PojoSE Service Unit Manager 

org.glassfish.openesb.pojose.jbi.PojoSEServiceUnitManager 

PojoSE Executor 

org.glassfish.openesb.pojose.jbi.nmr.BasePojoExecutor 

PojoSE Service Unit 

org.glassfish.openesb.pojose.jbi.su.PojoSEServiceUnit 

PojoSE Inbound Processor 

org.glassfish.openesb.pojose.jbi.thread.InboundProcessor