Each service requester has a resource bundle file that contains information for the creation of the service requester. A resource bundle file has the following keys:
Key | Description |
---|---|
ServiceRequester | Indicates the class name for the service requester. |
ServiceType | Indicates the type of service objects that the service requester invokes |
ServiceID | Indicates the ID of the service object that the service requester invokes. This key is not mandatory. |
ServiceInvocation | Indicates the invocation type that the service requester uses to invoke service objects. |
CachingEnabled | Indicates whether the caching mechanism is enabled for the service requester. |
CacheTimeout | Time in minutes that the service requester can stay inactive before the Cache Cleaning Process removes it from the service requester factory cache. |
Here's a sample of the resource bundle file:
ServiceRequester = com.ibm.btt.services.sample.SampleServiceRequester ServiceType = service1 ServiceID = counter1 InvocationType = WSIFSoap CachingEnabled = true CacheTimeout = 10 //10 minutes