Having multiple service operations in a single JMS adapter best practice

Hi All,
I am using JDeveloper and SOA Suite 11.1.1.6. I need to read from multiple JMS Topics and transform and enhance the messages through the Mediator and then persist into Database.
My question is
What is the best practice to consume from multiple topics, Should I configure separate JMS adapter for each of the Topic destination
OR
have a single JMS adapter with multiple operations by manually changing the JMS adapter wsdl and jca file?
I find cannot have
Please suggest.
Thanks in advance
Edited by: user5108636 on 15/05/2013 11:36

Hi Vijay,
did you actually test this? When I finish creating a DBAdapter, there is a operation present. Then when I click edit again on the DBAdapter, and I create another select, when I finish only the first operation is gone, and I can only see the one I've created via the last edit.
I dont understand your reply. Can I have two operations, each one with select underneath, in the same adapter?
Edited by: user13604541 on Jan 30, 2012 11:19 AM

Similar Messages

  • Having multiple Stored procedure in a single Business Service in OSB

    Hi,
    Please let me know is it possible to have multiple Stored Procedure inside one business service in OSB.
    Regards,
    Abdul

    Hello Abdul,
    It is not possible to serve multiple stored procedures/functions with one business service because one business service can be based on one adapter only and one DB adapter can interface one DB component only. You may have one stored procedure which internally makes call to all other procedures as per your requirement and from OSB, call this single stored procedure using one business service.
    Regards,
    Anuj

  • JMS / MBD Best Practices

    Hello All,
    There is currently a dispute in my camp about the limit of "responsibility" to place on a single MDB. In this case, the argument surrounds whether it is "good practice" to allow a MDB's onMessage function to:
    - Open a connection to a servlet (the URL object obtained via Connection Manager via JNDI)
    - Post some data
    - Read the response and log it to local DB via JDBC
    Firstly, is this too much responsibility for a single MDB?
    Secondly, can someone please point me in the direction of some good MDB "Best Practices" documentation out there, free or otherwise.
    I'm looking forward to settling this dispute.
    Thank you all in advance.

    Hi,
    A MDB may become one of your application bottlenecks if it has to perform a time expensive operation. In such a case it may result of messages pilling up in your destination and dependent process blocking for an asynchronous event. But however, if your MDB work is isolated then its message throughput should not impact the overall application speed and can therefore be delegated expensive computation (assuming that the number of messages waiting to be processed is reasonable).
    In your particular case, I would say that you should be ok assuming that your servlet doesn�t suffer too long downtimes. Depending of your expected traffic you will have to deploy the right number of servelet and MDB instances.
    Hope this helps
    Arnaud

  • Operating system image build and management best practices?

    how do we create gold images for servers/desktops,
    Best practices image management,
    How do we control changes?
    How do we prevent unauthorized changes (installation of software)?
    What tools we can use for above.

    I use MDT 2013 Lite Touch to create my images
    http://www.gerryhampsoncm.blogspot.ie/2014/03/create-customised-reference-image-with.html
    You should use in-built ConfigMgr Role Based Access Control to manage images afterwards (look at the Operating System Deployment Manager role).
    Gerry Hampson | Blog:
    www.gerryhampsoncm.blogspot.ie | LinkedIn:
    Gerry Hampson | Twitter:
    @gerryhampson

  • Multiple instances operated on a single database on a single machine

    Hi friends,
    Can anybody tell that "Is it possible to operate multiple instances on a single database on a single machine"!?.
    If so.., where this case is useful.
    Please help on this doubt.
    Thanks in advance.
    Thanks
    Srinivasa Rao

    Hi,
    I just asked whether it is possible or not. It is not much important. As you said, OPS will perform well if instances are on different machines. I agree on this. But I think we need to replicate the database on other machine also to run fast.Am I right?..If not, please correct me...
    Thanks for valuable information.
    I just re-read your post. When you say multiple instances on a single database, it sounds to me like you are asking about Oracle Parallel Server in 8i. I don't know why you would (or even if you could) have multiple instances on the same box. I don't think that would make sense since on of the benefits of OPS is to have more processing power by using multiple machines.

  • Configuring multiple services in a single instance database

    Dear All,
    I would like to create multiple service names for a single instance oracle database (10.2.0.3 on IBM - AIX 6.1). I tried searching on the net, reading documentation, and also on the metalink but couldn't find anything relevant to single instance database.
    Say I have two users, userA and userB, for which I would like to use two services (ServA and ServB) to connect to the same single instance database.
    Any help in this direction is appreciated.
    Regards

    Oracle Lover3 wrote:
    Thanks for your quick solution.
    By the time you answered I was able to locate it in the documentation. I have tested it and its working perfectly. Here's the documenation link.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams188.htm#i1133481
    It is very hard to believe you didn't find this in the documentation, and my suspicion is you didn't search for it at all.It is very hard to believe that you don't trust others and end up in suspicion. I wish you were sitting next to me while I was searching for the link/document.It is because the vast majority of doc questions are asked by people who don't read the docs at all.
    Now, I'm curious about your requirement. While it can be done, it is pretty unusual. That always leads me to want to step back from the technical question and ask What business problem is this solving?

  • How to use multiple WSDL operations in One BPEL process Recieve Activity ?

    Is there anyway to attach multiple WSDL operations with a Single BPEL process ? How ?

    Thanks Melvin for your quick respond.
    When I create a BPEL process, It asks me to give the XSD as an Input. When I import the XSD it asks me to select an operation not more than one. Let suppose I select addRequest and finish the wizard.
    Now what I can see, It create Recieve activity with an Input msg of Add operation. Well what I understand from your statement is that, I remove the recieve activity and put the Pick activity.
    Now my question is How to mention the other operations like update and delete ? And how to test them ?? The link provided by you is just tell me what Pick activity can do for me, But its not telling me how to use it ?? and how the give the operation to it. Where should I need to change in the BPEL ???

  • Pros & Cons of having multiple web applications under one EAR project

    Could anybody let me know what are the advantages and disadvantages of having multiple web applications under one single EAR project?

    Either this is homework, in which case, do it yourself, or you already think you have some pros for doing this. Share with us

  • Commitment Items for Multiple services in Service PO

    Hi,
    We have created a service master for all the services used in a project. FM is activated. Every service has 1:1 relation with commitment items.
    Even after table look up & derivation, system was not picking up correct commitment item in service PO. We have used some exits & BADI's, Now system checks picks the correct commitment item stored in FMDERIVE against the service master.
    The issue is, the moment I have multiple service masters in a single service PO with two separate comm. Item.  System picks up the commitment item of only for line item 0010 & posts both the entries against one comm. item.
    Let me know how system can pick up individual commt items.
    Thanks & Regards,
    Ajay

    Hi Ajay,
    I believe that there is one standard solution for what you developed. Let me explain better.
    Please check your table FM01X. You can enable one these flags in table FM01X, depending on your business needs:
    FLG_PO_PROTECT if you want to always inherit the fm account assignment from the reference PO and therefore skip FMDERIVE
    FLG_FMDERIVE_FORCE if you always want to force a call to fmderive in all cases
    FLG_SES_OVERWRITE in services, if you wish to overwrite the account assignment from the SES with the derived values from FMDERIVE.
    You can find more information in note 1146677 and 923672. Please review the information of the notes and run the programs
    according your needs.
    FMDERIVE is skipped for GR/IR lines and the Commitment item is inherited from the PO regardless of whether or not the GR/IR line is FM relevant. This is SAP standard behavior.
    If you want to force the Commitment item to be derived from the GL account for the GR/IR line, you can use the FLG_FMDERIVE_FORCE flag as described in note 923672.  This will allow FMDERIVE to be called for these lines.  Please be sure to fully test this to ensure that FM account assignments that you do not want to be overwritten are
    not incorrectly derived.
    Bear in mind that for PO´s that does not have account assignment you should run FMCN/FMCT + FMN4N. For this you would need to check the flags and which one is more related to your needs. With the appropriate flag marked in FM01X (active with X) you should be able to run the transactions without any issue.
    Based on note 189761, after doing all the previous suggestions and the issue does not appear anymore, I suggest you to run the programs described in the note.
    I believe that this will help you.
    Best Regards,
    Vanessa.

  • Service operation support for EDISeparator adapter

    Hello Experts,
    I am configuring the Sender EDISeperator adapter and the Sender service interface assigned to this EDISeperator adapter has multiple service operations attached to it.
    An example is shown below :
    I am getting the below error :
    Questions:
    1.Can anybody help me to resolve this error.
    2. Does the EDISeparator adapter support Stateless interface pattern (i.e Service interface with multiple operations)
    3.Is it mandatory to have the message type name (See "Name" column above) as ORDERS96A..i.e can we add suffixes to it like ORDERS96A_MT. I have noticed that if we add these suffixes the EDISeparator adapter throws an error. Is this understanding correct.
    Thanks
    Saurabh

    Hi Ryan,
    Exactly the question i was expecting.
    Communication Component A                    Mapping                      Communication Component B
    SI_Orders.Ean007  (  ORDERS96A )                                 MM_EAN007           ZCNOSE_ORDERS.ORDERS03
    SI_Orders.Ean008  (  ORDERS96A )                                   MM_EAN008           ZCNOSE_ORDERS.ORDERS03
    SI_Orders.Ean009   (  ORDERS96A )                                  MM_EAN009           ZCNOSE_ORDERS.ORDERS03
    all the services interface have ORDERS96A message types ( but in different namespaces ) as its root node as shown above and the EDISeparator adapter at the receiver side is generating ORDERS96A before the split.
    FYI, the mapping is done between the messages types in their respective namespaces and the common IDoc.
    Thanks
    Saurabh

  • Can we use 2 queue File in same JMS adapter

    I am doing a scenario where 2 queues( Queue1file and Queue2file) are coming from MQ series but in the receiver end both are processing one after another or one only at a time. Can I achieve this using a single JMS adapter or can you suggest any other possible way?

    The second submit is within an elsif so both programs will never get fired.
    It will be either first or the second.
    Also check if the program is getting launched but some other issues are preventing email. Try to submit some other program in the ELSE part.
    Sandeep Gandhi

  • How to configure an jms adapter to use ActiveMQ?

    Does anyone have an example of how to configure an jms adapter of oracle esb
    for third party JMS provider to use ActiveMQ?
    I had done something as follow:
    1、add activemq shared-library in $SOA_INSTANCE/config/service.xml
    2、config a jms adapter fro third party use paramter:
         java.naming.factory.initial     org.apache.activemq.jndi.ActiveMQInitialContextFactory
         java.naming.provider.url     tcp://10.20.30.26:61615
    but I got a error:ERRJMS_CONN_FAC_NOT_FOUND.
    Caused by: javax.naming.NameNotFoundException: org.apache.activemq.ActiveMQConnectionFactory
         at org.apache.activemq.jndi.ReadOnlyContext.lookup(ReadOnlyContext.java:225)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at oracle.tip.adapter.jms.JMS.JMSFactory.jndiLookup(JMSFactory.java:237)
         at oracle.tip.adapter.jms.JMS.JMSConnectionFactoryFactory.getConnectionFactory(JMSConnectionFactoryFactory.java:138)
         ... 51 more
    what should I do? can someone give me a detail resolvent?

    I also had done as follows:
    1、add activemq shared-library to shared-library named "oracle.esb" in server.xml :
    <shared-library name="oracle.esb" version="10.1.3">
              <import-shared-library name="apache.activemq"/>
    </shared-library>
    2、add in $SOA_INSTANCE\j2ee\soa\application-deployments\default\JmsAdapter\oc4j-ra.xml
         <imported-shared-libraries>
              <import-shared-library name="apache.activemq"/>
         </imported-shared-libraries>

  • Multiple Proxy Services for single JMS endpoint

    Hi Forum,
    OSB Proxy services do not allow to have the same endpoint. I have defined 2 proxy services to look into one JMS queue. But it does not allow to do this.
    I want to fetch messages from the same queue by more than one Proxy (parallel execution to empty the queue faster). How can I do that?
    Thanks in advance..
    CK

    OSB/JMS by design are of little use here. For parallel execution to empty the queue faster we can
    1) use distributed Q in cluster and multiple proxies can process on the distributed Q.
    Manoj

  • How to allow multiple output parameters in a user-defined service operation???

    I have creating a self-defined service operation “LDAPAddUser” to connect to LDAP server to create user accounts. I want to get 2 output parameters after executing the operation. One is the result (Boolean data type) and one is the error message (String data type). However, since Java only support one return value in a method, it seems that only one output parameter can be returned. May I have the suggestion so that multiple parameters can be supported in this case? Here is the extracted code
    In Java program,
    public Boolean addUser(String url, String aName)
    In file "component.xml",
         <operation name="addUser" method="addUser" orchestrateable="true" anonymous-access="true">
      <hint>Add a new user</hint>
         <input-parameter name="url" type="java.lang.String" required="true" title="LDAP URL">
         </input-parameter>
              <input-parameter name="aName" type="java.lang.String" required="true" title="Admin Login Name">
         </input-parameter>
              <output-parameter name="Result" title="Result" type="java.lang.Boolean">
              </output-parameter>
    Besides the boolean return value, I want to get another return value (string data type). Any suggestion ?

    I've returned multiple values to LiveCycle by using a complex object as an intermediatory.
    For example if I need to return two strings (firstName and lastName), I'll first build a single class (name) with two string attributes (private String firstName; private String LastName) and add getters and setters to my "name" class for each.  My service class method will return an object of type "name".
    for example  public name mymethod(String GUID, String username, String password).......
    Then in the component.xml you can return the two strings as long as you use the binding type "Bean":
    <output-parameter name="firstName" title="First Name" binding-type="Bean" property="firstName">
                        </output-parameter>
    <output-parameter name="lastName" title="Last Name" binding-type="Bean" property="lastName">
                         </output-parameter>

  • Single transaction through multiple service objects [Spring]

    Hello.
    I have multiple service objects, while methods in service objects represent use cases.
    If I call the method from the other method in the same service object, then the second (called) method uses the same transaction as the first (caller), because of default propagation REQUIRED is applied.
    .. as is shown in the following pseudo code:
    @Transactional
    public class PersonService {
         private PersonDAO personDAO;
         public void otherMethod() {
         public void savePerson(Person person) {
              otherMethod();
              personDAO.save(person);
    }But I need to call service methods of different service objects, because some use cases use other use cases. I also need all those called methods to be done as a single transaction.
    @Transactional
    public class OrderService {
         private OrderDAO orderDAO;
         public void saveOrder(Person person, Order order) {
              PersonService personService = CONTEXT.getBean("personService");
              personService.savePerson(person);
              orderDAO.save(order);
    }If I do it like that, the new transaction proxy is created and all personService stuff is executed in the new transaction. How to configure @Transactional annotated objects or Spring beans to do all service stuff in single transaction?
    I have Hibernate sessionfactory, DAOs and services beans simply configured in Spring configuration XML, using autowiring and transaction annotation config. I prefer using @transactional annotated service classes, but if I had to use more complex Spring transaction configuration to achieve the goal I won't have any problem with it.
    Thank you in advance.

    I would like it to be done is single transaction but it isn't. As the bean is retrieved from the spring context in OrderService's method
    PersonService personService = CONTEXT.getBean("personService");a new transaction for PersonService is started. So then I have two transactions in progress - one for OrderService and second for PersonService. I need the PersonService (or any other service object) to detect already pending transaction and use that. Not create new (it's own). I use no arguments in @Transactional annotation so default propagation REQUIRED should be used, but it still creates a new transaction for PersonService stuff.
    I'm posting my applicationContext.xml (simplified slightly)
    <beans default-autowire="byType">
         <bean id="dataSource"
              class="org.springframework.jdbc.datasource.DriverManagerDataSource">
         </bean>
         <!-- Hibernate SessionFactory -->
         <bean id="sessionFactory"
              class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
              <property name="dataSource">
                   <ref local="dataSource" />
              </property>
         </bean>
         <bean id="hibernateTxManager"
              class="org.springframework.orm.hibernate3.HibernateTransactionManager">
              <property name="sessionFactory">
                   <ref local="sessionFactory" />
              </property>
         </bean>
         <tx:annotation-driven transaction-manager="hibernateTxManager" />
         <!-- DAOs -->
         <bean id="personDAO" class="net.package.dao.PersonDAO" />
         <bean id="orderDAO" class="net.package.dao.OrderDAO" />
         <!-- Services -->
         <bean id="personService" class="net.package.service.PersonService" />
         <bean id="orderService" class="net.package.service.OrderService" />
    </beans>Thank you

Maybe you are looking for

  • Input screen for Variable in Bex

    Hi , I have created variable based on calender month and this variable is used in reports,but for this variable i am unable to get the input screen where as when iam trying to execute same report in RSRT it is allowing me to enter the date. Its lots

  • When I watch movies on my itunes the sounds doesnt work?

    I rented a movie on my iTunes and when it finished loading I went to watch it and the sound wouldnt work.. its silent! what should i do?

  • Add additional IP to Windows 2008 SP2 Cluster

    Dears, I have a 2 node SQL 2008 Cluster 64bit (non r2) on Windows 2008 SP2 64bit (non r2) Server. I need to add additional IP (different subnet) to the Cluster Quorum Resource.  Kindly guide me the steps to add the IP ? Thanks Tariq

  • Sun One Search Engine Integration with the Fatwire Content Server

    Hello everyone, I am presently using Fatwire(Divine) Content Server. I have uploaded certain documents using Fatwire flex attributes(metadata). I want to use portal search engine for implementing Full Text Search of uploaded documents. how can i map

  • Shuts Down While Rendering

    Recently, my iMac has developed the following behavior:after about 15 minutes of rendering, display goes dark, machine goes silent and rendering stops. After I "wake it up" (mouse click does the trick), rendering resumes for, say 5 minutes, then shut