Thanks nnethi. I have noted them, Thanks all for your support!
If the answers are helpful, Please tag them helpful, It will add points.
12. Is it possible to establish a connection to a message system (JMS/MQ) without creating a JMS connection factory?
Answer : NO , You cannot access without a JMS Connection Factory. in OSB it is mandatory to define jms://host:port/FactoryJndiName/DestJndiName and even the Jms adapter needs Connection Factory.
Thanks a lot for your support. Definitely I will mark them has helpful, But somehow I can't see "mark as helpful answer" option in this thread. I have request forum moderator to add it accordingly. Please give sometime till that appears.
1, 2, 3, 5, 6, 12, 16, 17, 20, 21 are answered till now
11.) Yes we can configure proxy service polling from queue without any message selector . If multiple proxies are polling from same queue, then whichever makes the connection first, will pick it.
If multiple proxies are polling from same queue, then whichever makes the connection first, will pick it.
In OSB its not possible,you cannot have 1 or more proxy services in OSB consuming message from same queue without specifying message selector.For instance,you have one PS listening Queue1.You create one more PS listening to same queue1.At the time of activation of session you will get below error
[WliSbTransports:381517]URI jms://localhost:8001/weblogic.jms.XAConnectionFactory/TestQ for this proxy service is already used by another proxy service: ProxyService default/PS1 with no message selector
Hence, answer to question 11 for second part should be NO.For first part, if only one PS listening to a queue,it can listen without message selector.
Q15: The poller is deployed on all Managed Servers, but the poller on only one Managed Server will poll for a given proxy service.So you can give either MS1 or MS2.After polling the request will be transferred to any of the managed servers. For your reference: Understanding Oracle Service Bus Clusters - 11g Release 1 (184.108.40.206.3)
Hope this helps.
13. What is local protocol in OSB and what are advantages of this? Give a real life scenario.
Local protocol is used for internal processing of the services.PS using local protocol are not exposed to external systems.They are referred in your exposed proxy services depending upon logic.Suppose a PS1 is exposed to the client.Now based on your request you need to for instance say add 2 numbers.For that you have separate proxy service with local protocol.In your PS1 you will call that proxy service locally to get the sum of 2 numbers.
14. How you would configure a proxy service to poll from a multiple queues? Give the details what setting has to be done in proxy configuration?
It can be the case that one queue is being listened by 2 proxies or process.
1.) BPEL service & osb proxy services are listening from same queue.
2.)By mistake while migrating from Dev to Test env, someone forgets to update hostname:portname of test env , keep it same as of Dev server.
In both cases, whoever will make the connection first, will pick the message.
The scenarios that you have mentioned, in those cases YES, its possible BPEL service or OSB Proxy Service can listen from same queue.I guess the question asked is generic like on same server can 1 or more proxy services listen from same queue.Neverthless, answer can vary depending upon the scenarios such as two scenarios that you mentioned above.
Thanks a lot Karan for your clarification! Very nice
Thanks all for your participation. Answered till now 1, 2, 3, 5, 6, 11, 12, 13, 14, 15, 16, 17, 20, 21
Left : 4, 7, 8, 9, 10, 18, 19, 22
8. Give a complete business scenario where you will implement , mediator, OSB , DB adapter, Fileadapter and Business Rules.
Here is a sample scenario where user want to create a sales order. User logins to a workbench and triggers a sales order, request will be routed to OSB which perform basic authentication
and then routes to SCA Composite. Composite will have multiple options to create order, single order, bulk orders, etc. SCA will route the request to mediator, which will decide which components to invoke
A separate bpel will take care of single and bulk order creations. Single Order BPEL will validate the request using Business Rules and inserts to DB and writes the content to a ftp location which will be
consumed to downend systems like logistics or SAP system.
9. Is it possible to use mediator as a standalone component without interacting to other SOA suite component? Give a business scenario
Mediator alone can be used with interacting with other Components. Best example is entity services which handle CRUD operations.
Mediator will interact with Adaptors alone without touching any components.
10. Does EM console provides you a feature where you can search a payload based on a consumer data (provided it is not hidden) like invoice number or customer mobile number etc?
Yes, sensors help to search payload based on input data.
Setting Compsite title to invoice number can also help to search.