Thursday, October 22, 2015

Oracle Service Bus Interview Questions with Answers - Part IV

Part - IV

1. What is Message Flow?

Ans: Message Flow is an OSB component which is part of proxy service. We define our business logic in message flow.

2. Can we delete Start Node in Message flow?

Ans: Start Node comes by default in message flow once we create a proxy service. Every message flow should always have a start node and we can't delete the start node in message flow.

3. Can we add multiple pipeline pairs in one message flow?

Ans: Yes, we can add more than one pipeline pair in one message flow.

4. Can we directly add actions under request or response pipeline?

Ans: No, we can't add actions directly under request or response pipeline, we need to add stage node in request or response pipeline and inside that stage, we can add all required actions.

5. Can we have more than one route node in message flow?

Ans: No, we can't add more than one route node in message flow.

6. Which node you will use when you need to route the message based on content?

Ans: We will use Conditional Branch to route the message to different business services based upon content, this is also called content based routing.

7. Which node you will use to route the message based upon operations?

Ans: We will use operation Branch to route the message to different business services based upon operation.

8. Can we delete the default branch in conditional or operational branch?

Ans: No, we can't delete the default branch in conditional or operational branch.

9. Can we add more than one route in one conditional or operation branch?

Ans: Yes, if we need more than one branch then we add one route node in each branch as each branch will be independent and only one branch will execute at one time.

10. Can we add stage node under route node?

Ans: No, we can't add stage node under route node. Stage node can be added only under request and response pipeline or in error handlers.

11. What is Dynamic Routing action?

Ans: This action is used when we need to route the message to business service dynamically that means at design time we don't know to which business service we have to route the message and that is determined at run time.

12. Which action we use to throw fault/error in message flow?

Ans: We use "raise-error" action to throw business fault in message flow.

13. What is reply action?

Ans: It specify that immediate reply is sent to invoker.

14. What actions we use for OSB reporting?

Ans: We use Alert, Log and Report for OSB reporting.

15. Can we change the file name in message flow at runtime?

Ans: Yes, we can change file name at runtime using Transport Header action.

16. Can we change the endpoint URI of the external service that we invoke using business service?

Ans: Yes, we can do it by using routing option action.

Part - I | Part - II | Part - III


No comments:

Post a Comment