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

Similar Messages

  • Dynamic orchestration using multiple proxy services

    The project I am currently on is using ALSB for service orchestration. For a given orchestration, we would have one orchestration proxy (the control center), that synchronously calls a sequence of alsb proxy services.
    Each proxy service in this second level fronts one or more business service calls to perform a specific operation ("Create Account", "Create User", etc.).
    So far so good, all this can work just fine (and much of it is already working in production). The trick that I am trying to make happen currently, is to dynamically load the list of second-level proxies and loop through the list to trigger calls.
    Loading a list of proxy paths/names is no problem, I have many options there. It's when I try to take that list and loop through it, calling each proxy on the list that I am stuck.
    Unfortunately, it appears I could have three routing choices and none of them work:
    1. Service Callouts only work with a static service name, not a dynamic one (so even if I had a for-each loop around a Service Callout action, it doesn't do me any good).
    2. Dynamic Publish actions are asynchronous only
    3. Dynamic Routing actions inside Route nodes work, except that only one can exist per proxy service.
    Am I missing anything? Is there some way to get ALSB to accept dynamic synchronous invocation of multiple proxy services from one orchestration proxy service?
    Meghan Pietila
    Granite Consulting, Inc.
    Minnesota

    A way of Invoking a dynamically chosen proxy service (PS) synchronously could be the following.
    Service Callout actions are synchronous, so ALSB will block in PS2 (PS=proxy service) when it does the invocation of PS1.
    Assuming the following very simple scenario (I hope to have understood correctly your case):
    OPS = orchestration proxy service
    case1: OPS -> PS1 -> PS3 -> ...
    case2: OPS -> PS1 -> PS2 -> ...
    where each PSi calls one or more business service (I suppose that the business services called in each PSi are called in a predefined order), so what is changing from one case to another is the sequence of PSi to be called.
    I've setup the following ALSB project:
    - OPS proxy services
    - PS1 .. PS4 proxy services
    - a proxy called 'step'
    - a xquery called 'routing'
    The idea is to call, from OPS, another proxy (the 'step' proxy) in a synch way (service callout) passing the information of what proxy should be called dynamically.
    In the 'step' proxy then I create the <route><service> XML fragment, for the Dynamic Route action. This <route><service> XML fragment will point to the configuration of yet another proxy service (PSx), that is the PSx that I want to call.
    One limitation is that I assume that your OPS always calls for example 2 proxies which name is resolved dynamically.
    About the xquery:
    <routing>
    <case name="1">
    <node>PS1</node>
    <node>PS3</node>
    </case>
    <case name="2">
    <node>PS1</node>
    <node>PS2</node>
    </case>
    </routing>
    OPS performs the following steps:
    - chooses what is the case: 1 or 2
    - does 2 service callout to the proxy called 'step' passing each time the correct node to be called
    $routing/case[@name=data($case)]/node[1]
    $routing/case[@name=data($case)]/node[2]
    In the 'step' proxy I do a dynamic publish to desidered PS:
    <route xmlns="http://www.bea.com/wli/sb/context">
    <service isProxy="true">{ $proxyToBeInvoked }</service>
    </route>
    where the proxyToBeInvoked variable is built from the node received by the caller.
    I've used this approach in a solution currently under development but I've found some problems when I want to receive back in OPS the error raised by any PSi: I'm able to catch the error but I'm not able to receive back the detailed error like in an usual stack trace.
    I hope that could be useful.
    Regards
    ferp

  • Multiple webdynpro applications for single webdynnpro component

    I am working on a object which have multiple webdynpro applications for single webdynnpro component.How to assign a different functionality to each application bcoz when we right click on webdynnpro component and select create webdynpro applications ,it just creates a application how so we assign diff functionality to each of them .Also in the parameter tab of the webdynpro applications ,there is a diff config id mentioned for each application.what is its relavance .
    Rgds,
    Praveen

    Hi Saravanan,
    I need to modify it from the portal end, not at the application level.
    I need some configuration steps which specifies how to modify the Detail Navigation in PPM. Using SPRO we can do some configuration, i wanted to know whether its possible from portal end as well.
    Regards
    Shivas Bhan

  • Multiple contact persons for single vendor--LSMW

    Hi experts,
        i want to upload multiple contact persons for single vendor. using lsmw direct input method or recording method is it possible..if possible can u let me know the procedure.
    Thx in advance,
    Neelu

    Hi
    in our company v wil upload contact person details in Sales Data......
    so its not possible to upload more than one contact person for vendor....
    can u tell me wr u people wil enter the contact person details?
    Regards
    Smitha

  • Multiple storage locations for single material - ECC 6.0

    Hi
    Can anyone let me know, how one can map multiple storage loctions for single material?
    regards
    Sanjay

    hello,
    Go to SPRO --> IMG --> Materials Management --> Inventory Management and Physical Inventory --> Plant Parameters.
    Tick Create storage locations automatically. System will extend the material to the storage location maintained in the transaction.
    Nikhil

  • [svn] 3853: Bug: BLZ-269 - Add support to proxy service for IBM X509

    Revision: 3853
    Author: [email protected]
    Date: 2008-10-23 12:12:39 -0700 (Thu, 23 Oct 2008)
    Log Message:
    Bug: BLZ-269 - Add support to proxy service for IBM X509
    QA: Yes
    Doc: No
    Checkintests Pass: Yes
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-269
    Modified Paths:
    blazeds/trunk/modules/proxy/src/flex/messaging/services/http/httpclient/EasyX509TrustMana ger.java

    Revision: 3853
    Author: [email protected]
    Date: 2008-10-23 12:12:39 -0700 (Thu, 23 Oct 2008)
    Log Message:
    Bug: BLZ-269 - Add support to proxy service for IBM X509
    QA: Yes
    Doc: No
    Checkintests Pass: Yes
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-269
    Modified Paths:
    blazeds/trunk/modules/proxy/src/flex/messaging/services/http/httpclient/EasyX509TrustMana ger.java

  • Multiple proxy settings for safari?

    I recently switched back to Safari from Firefox, and I am wondering whether there is a plugin or some piece of software that would allow me to effortlessly switch proxy settings. I want to use multiple proxy servers for research, and it's a pain to change the proxy settings in the System Preferences every time I want to switch. Any ideas?

    NetShade: http://www.netshade.net/
    It specializes in providing lists of proxies for you, as well as its own dedicated pay-to-access proxy server, but it also allows you to customize your list and switch between them.

  • HTTP Proxy Connection for sharepoint-webservice endpoint in  SMP

    hi all,
         I want to consume share-point services(soap based) through SMP. for that i am creating HTTP Proxy Connection for sharepoint web service endpoint in
    SMP. i have done with creation of proxy connection without any error but while testing (on REST_CLIENT add-ons) it showing following error :
    Status Code: 400 <?xml version="1.0" encoding="utf-8"?> <error ><message xml:lang="en">Error occurred while connecting to the Gatewaynull</message> </error>
    Can anyone help me....
    Thanks in advance.

    hii Andrew,
    Here are screenshots of proxy connection configuration,
    security configuration:
    Application creation:
    connection white listing :
    Error message in Rest Client:
    Regards,
    SupriyaD

  • Configuring Proxy Service for MQ Transport

    Hi
    When we configure a MQ Proxy service, we get an option by the name "Endpoint URI 'GET' options ", I wanted to know what is the default setting for this option, i.e if i do not set anything in this tab then what value OSB defaults it to?
    Its Urgent.
    Rgds
    Rahul.

    The link i gave before give different behaviour you can control with appropriate setting of Options field. OSB documentation [ http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/mqtransport/transport.html#wp1088116] gives the complete list of fields
    # MQC.MQGMO_ACCEPT_TRUNCATED_MSG
    # MQC.MQGMO_ALL_MSGS_AVAILABLE
    # MQC.MQGMO_BROWSE_FIRST
    # MQC.MQGMO_BROWSE_NEXT
    # MQC.MQGMO_COMPLETE_MSG
    # MQC.MQGMO_CONVERT
    # MQC.MQGMO_FAIL_IF_QUIESCING
    # MQC.MQGMO_LOCK
    # MQC.MQGMO_LOGICAL_ORDER
    # MQC.MQGMO_MARK_BROWSE_CO_OP
    # MQC.MQGMO_MARK_SKIP_BACKOUT
    # MQC.MQGMO_NO_SYNCPOINT
    # MQC.MQGMO_NONE
    # MQC.MQGMO_NO_WAIT
    # MQC.MQGMO_SYNCPOINT
    # MQC.MQGMO_SYNCPOINT_IF_PERSISTENT
    # MQC.MQGMO_UNLOCK
    # MQC.MQGMO_UNMARK_BROWSE_CO_OP
    # MQC.MQGMO_UNMARK_BROWSE_HANDLE
    # MQC.MQGMO_UNMARKED_BROWSE_MSG
    # MQC.MQGMO_VERSION_1
    # MQC.MQGMO_VERSION_2
    # MQC.MQGMO_VERSION_3
    # MQC.MQGMO_WAIT
    As an example you can specify MQC.MQGMO_BROWSE_FIRST if you want the mqget to be a non destructive read off the queue [message wont get deleted off the q, so the behaviour is like browsing through the messages in the queue]. Similarly you can set MQC.MQGMO_CONVERT if you would like the queue manager to convert a string message's encoding before delivering the message to the app issuing the mqget command [ useful for ebcidic to ascii conversions when getting messages from a mainframe]. Like this you can control the different behaviours when performing a mqget. You can read IBM documentaion to understand the significance of each Option field and can decide whether you need to apply the same for your requirement. If you dont need any then dont worry about this field.

  • Proxy Service listening a JMS Queue

    HI all,
    I have a simple question.
    I have an web application that write a message into a JMS Queue.
    I wanna know if when a message arrives into a JMSQueue an ESB proxy can listen this queue, get the message and afterwards process it.
    Thanks and Regards!

    Hi,
    In ALSB 2.6 its very much possible. Create a proxy Service (Any XML Service) configure your endpoint to the queue. provide correct Url, Connection factory JNDI and queue JNDI to the endpoint.
    Hope this helps you.
    ~Anup

  • Fault handling through multiple proxy services

    I have a proxy service which calls another proxy service which then calls a business service. I really, really need the soap fault returned from the business service to get back to the initiating proxy service where this proxy can deal with it accordingly.
    Does anyone know how to do this?
    What I'm doing now:
    When the business service returns a soap fault, the proxy which called it receives a "BEA-382500" fault and I extract the soap fault from the ALSB $fault details:
    $fault/ctx:details/con:ReceivedFaultDetail This is all well and good but now I need to get this soap fault back to the first proxy service.
    According to ALSB documentation, if you reply with "failure", a 500 response code is returned to the calling process along with the contents of $body.
    I thought that I should be able to replace the $body with a soap fault and all would be well. That doesn't appear to work though. The calling proxy service receives the error as a "BEA-382502" (ALSB Service Callout action received an error response) error and the soap fault I replaced the $body with is returned in a CDATA section of the fault detail.
    I would think it would receive the soap fault the same as the proxy which received it from the business service.
    Am I doing something wrong? Has anyone been successful in something like this? Anyone got any tips that might point me in the right direction?
    Thanks for any help you can provide! :)
    Here's the actual fault that is caught in the initial proxy:
    <con:fault>
      <con:errorCode>BEA-382502</con:errorCode>
      <con:reason>ALSB Service Callout action received an error response</con:reason>
      <con:details>
        <con1:ErrorResponseDetail>
          <con1:detail>
            <![CDATA[<env:Fault xmlns:env="http://schemas.xmlsoap.org/soap/envelope">
              <faultactor/>
              <faultcode>soapenv:ERRORCODE1</faultcode>
              <faultstring>SOME MEAINGINGFUL ERROR MESSAGE</faultstring>
              <detail/>
            </env:Fault>]]>
          </con1:detail>
        </con1:ErrorResponseDetail>
      </con:details>
      <con:location>
        <con:node>Retreive CIM Accounts</con:node>
        <con:pipeline>Retreive CIM Accounts_request</con:pipeline>
        <con:stage>Get CIM Accounts</con:stage>
        <con:path>request-pipeline</con:path>
      </con:location>
    </con:fault>

    I agree with you completely. It should work. I just can't seem to get it to, though.
    Have you actually implemented something like this and had it function properly?
    I must admit, I'm taking a little different approach with building the contents of the body. It's probably more work than it needs to be. The end result should be the same as what you show below though.
    Here's the step's I'm taking:
    Assign this to a variable named "soapFault":
    <SOAP-ENV:Fault>
      <faultactor>{$fault/ctx:details/con:ReceivedFaultDetail/con:faultactor/text()}</faultactor>
      <faultcode>{$fault/ctx:details/con:ReceivedFaultDetail/con:faultcode/text()}</faultcode>
      <faultstring>{$fault/ctx:details/con:ReceivedFaultDetail/con:faultstring/text()}</faultstring>
      <detail>{$fault/ctx:details/con:ReceivedFaultDetail/con:detail/text()}</detail>
    </SOAP-ENV:Fault>Next, I replace the node contents of $body with the value of the soapFault variable.
    Finally, I reply with failure.
    The proxy service that gets this response recongnizes that an error occurs but the $fault variable (entire contents listed in my original post) has the soap fault I am returning stuffed into a CDATA section within the details instead of a ReceivedFaultDetail element as I would expect.
    Maybe I'm doing something wrong. If I am, I don't see what it could be. I've come to the conclusion that this just doesn't work. But, if you tell me you've actually got it working, I'll keep at it 'til I figure out where I screwed up.
    Thanks for your help!

  • OSB 1031: proxy service and publishing JMS messages with no duplicates

    Hi all,
    we have a Web Service proxy that publishes messages into a JMS queue. The queue is persistent and the related connection factory is XA enabled.
    The proxy does the call to the JMS business service from a route node.
    If a failure occurrs after the publishing returns successfully, the caller receives back an error and it will try again to call the web service proxy.
    As the message has been published successfully and was not rollbacked by the proxy, the second call could put on the JMS queue a duplicate message.
    As far as we know only with JMS proxy service, OSB starts a transaction within the pipeline or are we wrong ?
    What do you suggest in order to avoid such a scenario described above ?
    Thanks and regards
    ferp

    Try this link to depict the behavior
    http://allthingsmdw.blogspot.com.au/2012/09/osb-service-callouts-and-oql-part-1.html

  • Invoke multiple web services in single client

    hi everyone,
    Can we invoke multiple web services in a single client?.
    --web service                                                                                                                                                                           

    We can invoke..any number of services in a client.

  • How to use multiple tape drive for single filesystem on single client.

    Hello All.
    I want to backup single filesystem with multiple tape drive.
    Incase of Symantec veritas netbackup "NEW_STREAM" for multi-stream backup.
    Backup client has a  single backup filesystem like /data1  directory with 4 LTO6 drives.
    /data1 directory doesn't have a sub-direcotry, just present a files.
    If /data1 directory has a sub-directory like /data1/aaa, /data1/bbb, /data1/ccc , Is it possible to use multiple drives?
    Please anybody answer the questions.
    Thanks advanced.

    See how to use multiple tape drive from single client when I want to backup single filesystem?

  • Multiple Excise Invoice for Single GRPO

    Hello All
    How do we create multiple excise invoices from a single GRPO document.
    Thanks
    Santhosh.K

    Hi
    As per the scenario you mentioned.
    You can't create multiple Excise Invoice against Single GRPO. And as per the law of excise also there is no way to do like this.
    Gate  Pass  made against delivery when some vendor send the item to the client. Time quantity and rate with the duties are mentioned in that.
    similarly when client received the material all the above should be there in the gate pass.
    Ashish Gupte

Maybe you are looking for