You are on page 1of 2

How do wait-notify resources work ?

Basically wait and notify should share a common notification configuration which
is just a schema definition for data that will be passed from notifier to waite
r. Specific instances of waiter & notifier are corrrelated via a key.
For example: when one process is in wait state for key 'Order-1', it waits till
another process issues a notification with the same key value.
What is the default Axis in XPath ?
Child axis- What this means is that when you select "BOOK" from the current cont
ext, it selects a child node with that name, not a sibling with that name. Other
axes are parent , self , sibling etc.

What are the output formats for XSLT?


XML
HTML
Text
What does ' Success if no matching condition' transition mean ?
Lets say between two nodes N1 and N2, there are 3 success transitions with condi
tion and there is no success transition without condition. If none of the condit
ions match then a 'Success if no matching condition' transition can be used. Als
o if there is a success transition and also success transitions with condition a
nd if the condition matches then both the sucess transition (no condition) as we
ll as the transition(s) with matching conditions are followed. So you can use 'S
uccess if no matching condition' to prevent duplicate paths of execution.
What is the Purpose of $_error variable ?
$_error variable is available in the node following the error transition. It cap
tures the error message, error code etc.

What are the cases where business process cant proceed correctly subsequent to r
estart from a checkpoint ?
Sending HTTP response, confirming an email/jms message etc. This is because the
confirmation or sending HTTP response has to done in the same session. When engi
ne crashes these sessions are closed at their socket level. In such cases send r
esponse/confirm before checkpoint.

Which group do you use to wait for multiple events and proceed with the first to
occur ?
A 'Pick First Group'.
When is a 'Generate Error' activity useful?
When you handle an error inside a called subprocess or group and want to rethrow
the error to the caller(happens by default if you dont handle the error in the
called process)

Which activity is used for detecting duplicate message processing?


CheckPoint activity - Specify the uniqueID for the duplicate key field and engin
e maintains list of these key fields. When a process come to checkpoint activity
with the same value for duplicate key which already exists, it throws a Duplica
teException. An error transition can then handle this case.
Give an example where graceful migration of service from one machine to another
is not possible.
HTTP Receiver. In this case the receiver on new machine starts listening on the
same port, but you need to redirect requests from the old machine to the new one
.

What are the types of adapter services ?


Types of adapter services are :
Subscriber Service
Publisher Service
Request-Response Service
Request-Response Invocation Service

If the business process needs to invoke another web service which resource do yo
u use ?
SOAP request reply activity. If the business process needs to be exposed as SOAP
service use SOAP Event Source in conjunction with SOAP Send Reply or SOAP Send
Fault.

What is the functionality of the Retrieve Resources resource?


It can be used to serve the wsdl file of a SOAP Event Source to a (http) client.
Construct a process like: HTTP Receiver -> Retrieve Resources -> Send HTTP Respo
nse
Now the WSDL file for a SOAP service can be retreived using the http request
http://<host>:<port>/<path>/<resourceName>?wsdl
where 'path' is the folder path to the SOAP Event Source process and 'resourceNa
me' is the name of the process
Example : http://purch:8877/Purchasing/GetPurchaseOrder?wsdl

What is the scope of user defined process variables ?


The scope of user defined process variables is only the process in which it is d
efined.(Not even inside a sub process that is invoked from this process)

You might also like