Resolving problems when developing custom integration applications
Use the advice given here to help you to resolve problems that can arise when developing IBM® Integration API applications.
About this task
Your custom integration application hangs if the integration node is not available
Procedure
You set a property of an object and query its value, but the value has not changed
Procedure
- Scenario: You have set a property of an object, then queried its value; the value has not changed.
- Explanation: Methods that change properties of integration node objects are not processed immediately. If you call a property change method on a custom integration application object, the IBM Integration API sends a message that requests the specified change to the integration node. The integration node processes the request asynchronously, and notifies all AdministeredObjectListeners of the affected object when the change has been attempted.
- Solution: Methods that change state typically return to the calling program as soon as the request has been put to the queue manager of the integration node, or, following a call to BrokerProxy.beginUpdates(), as soon as the request has been added to the current batch. If the property has still not been updated after the action's response to the request has been returned to the application, consult the response message for more details.