Oracle JMS Adapter - Bpel Pick message from AQ based on the correlationId?

Hello,
I'm experiencing an issue during pricking the messages from AQ based on the JMSCorrelationID in Asynchronously.
I've developed asynchronous BPEL services, which will post messages in AQ (Inbound), the same service will liston response from Out queue.
Currently my service is consuming all messages, i want to consume only relevant response message based on the correlation Id.
Could you please advise me?
Regards,
Paddy.

Thanks MaShek for your replay,
During process invocation I've generated guid and set this value to JMSCorrelationID property which will set as message corrlationID, same JMSCorrelationID coming in response as well, I've set on message property same JMSCorrelationID which I set in invocation.
If same message response comes then the pick activity is working fine that means consumed message and correlation correctly, but other messages also consuming and then rejecting message. I want to restrict this.
Only relevant correlationid messages need to pick and process.
If any suggestions appreciated.
Note: I'm using Jdev11.1.15,
Regards,
Paddy

Similar Messages

  • MDB,MDB container or JMS adapter stops processing messages from JMS queue

    Hi guys,
    we have created a component using Enterprise Java Beans, let's say a product catalog, deployed it on a Glassfish v2 instance, and connected it to a legacy system using JMS and Sun MQ v4.1 as messaging system. The catalog component thus starts one MDB that listens on a JMS queue, let's say a queue named catalog_business_events_in, and waits for incoming messages, i.e. in our case update events. The problem is, that in general this approach works well, but sometimes the MDBs/JMS adapter stops for some reason fetching and processing messages from the JMS queue. We don't know why - no exceptions, etc.. Seems to be a Glassfish EJB container, JMS adapter or Sun MQ configuration issue. It seems to be that our component is not the problem.
    The messages are compressed/uncompressed by Sun MQ automatically. We actually have 2 Sun MQ instances in clustered mode running to have some kind of failover - no HA cluster, yet. Sun MQ instances are accessed from Glassfish instances running in different Glassfish clusters - so we have a dedicated Sun MQ cluster not a Sun MQ instance per Glassfish instance. Each Glassfish instance is configured such that it knows both Sun MQ instances to allow automatic failover.
    Has someone an idea, why the MDBs/ MDB container/ JMS adapter - stops processing messages? We are kind of puzzled as it happens more often now and apparently when traffic is (very) low not high!
    Thanks for your help.
    Cheers,
    Martin
    Edited by: east1979 on Jan 13, 2009 8:06 AM

    Hi Manoj,
    I have a very similar if not identical issue,
    Error while running realtime jobs that read from JMS tables via JMS MQ adapter:
    15/11/12 09:10:08  JMS GET OPERATION ERROR : TIMEOUT.UNABLE TO RECEIVE RESPONSE FROM THE INVOKED DATA SERVICES SERVICE.ADAPTER OPERA
    TION TO CONTINUE.
    15/11/12 09:10:15  Communication Error. See real time job log for details.
    Dump available:
    https://sapmats.wdf.sap.corp/download/download.cgi?id=5C0KZAHA3RSXBJW3ABLMUUT2P5UUKWO2TM3EJDM5W2HGDZUDID
    Version of DS:14.0.3.273
    Any comments?
    Thansk and kind Regards,
    Kenneth

  • Jms adapter not polling messages from jms topic

    Hi
    We have a jms adapter configured in BPEL process which need to poll messages from JMS topic.Unfortunately its not polling message from JMS Topic if we add Message Selector and Durable Subscriber properties in jca file.Please find jca file content below
    <adapter-config name="SyncCustomerPartyListCDHJMSConsumer" adapter="JMS Adapter" wsdlLocation="oramds:/apps/AIAMetaData/AIAComponents/ApplicationConnectorServiceLibrary/CDH/V1/ProviderABCS/SyncCustomerPartyListCDHProvABCSImpl.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
      <connection-factory location="eis/jms/aia/syncCustomerParty_cf" UIJmsProvider="WLSJMS" UIConnectionName="Dev"/>
      <endpoint-activation portType="Consume_Message_ptt" operation="Consume_Message">
        <activation-spec className="oracle.tip.adapter.jms.inbound.JmsConsumeActivationSpec">
          <!--property name="DurableSubscriber" value="XYZ"/-->
          <property name="PayloadType" value="TextMessage"/>
          <!--property name="MessageSelector" value="Target in ('XYZ')"/-->
          <property name="UseMessageListener" value="true"/>
          <property name="DestinationName" value="jms/aia/Topic.jms.COMMON.CustomerParty.PUBLISH"/>
        </activation-spec>
      </endpoint-activation>
    </adapter-config>
    If we remove Durable subscriber and message selector properties,its able to poll messages.
    Any pointer will help
    thanks in advance
    Baji

    After changing below property in jca file.JMS adapter is able to poll messages from JMS Topic.
    <property name="UseMessageListener" value="false"/>
    But if i un comment below line and deploy my code again, it stop pulling the messages from topic.
    <property name="DurableSubscriber" value="XYZ"/>
    If i bounce the server after above change and deployment ,it will start polling the message.I am not sure why i need to restart my server after adding above property.
    Thanks
    Baji

  • JMS Adapter is not picking messages from Topic ( AIA Error Notification)

    Hi All,
    One of my service is not picking messages from topic. This service was working in one environment but not working in this environment.
    I am using AIA 2.5 and using AIAErrorNotification.
    Service AIAAsyncErrorHandlingBPELProcess is enquing the message but consumer service AIAReadJMSNotificationProcess is not being invoked automatically.
    Whenever we are manually invoking this service, then this service is dequing messages from topic.
    Is any have any clue for this?
    Thanks in Advance.
    Edited by: vikky123 on Dec 22, 2010 1:46 PM

    Increase Log level for cube.activation to debug and check the logs by stopping & starting the activation agent(I mean Retire and activate the process) .. It should give a clue on what's happening..

  • Maximum message size JMS adapter can pick

    Dear All,
    I have query on JMS adapters.
                                                 1) I would like to know what is the maximum size message JMS adapter can pick?
                                                 2) Is there any option in JMS adapter, to define the maximum size?
    You help/guidance will be very much appreciated.
    Thanks,
    Praveenkumar

    1) If you see any issues with JMS XI Adapter handling 30MB messages in
    Production systems.
    If message size beyond 10MB then the message wont come to SXMB_MONI itself.....may be even in CC monitoring there may not be an entry....you mentioned Production Systems.....did you checked in Dev? The behavior wont change from Dev to Prod.
    2) If 30MB is huge, what is the maximum permissible message size
    greater than 10MB as break point.
    10MB itself is the limit...anything above that wont be processed.
    Regards,
    Abhishek.

  • JMS Adapter Supports below message

    Hi Frnds,
    I am working on one scenario i have to read and write RFH2 Message from MQ,we decided to use jms adapter.
    JMS Adapter supports below Message to put in MQ,
    <Data>
         <MQRFH2>
              <usr>
                   <TransactionType>GL_Update</TransactionType>
                   <Environment>LIVE</Environment>
                   <SourceScheme>EANCM</SourceScheme>
                   <SourceApplicationId>5051150003606</SourceApplicationId>
                   <DestScheme>EANCM</DestScheme>
                   <DestinationRouting>5051150003330</DestinationRouting>
                   <OriginalRouting/>
                   <MessageRecordCount>1</MessageRecordCount>
                   <BusinessTransactionId>20090405193001</BusinessTransactionId>
                   <ParentBusTID/>
                   <ParentBusId/>
                   <EECode>Y</EECode>
              </usr>
              <mcd>
                   <Msd>xml</Msd>
              </mcd>
         </MQRFH2>
         <Message>
              <GL_Update>
                   <header>
                        <SourceEAN>5051150003606</SourceEAN>
                        <DestinationEAN>5051150003330</DestinationEAN>
                   </header>
                   <detail>
                        <AuthorisedUser/>
                        <HeaderText/>
                        <HeaderReference/>
                        <PostingItem>
                             <ProfitCentre>7027101000</ProfitCentre>
                             <CostCentre/>
                             <AccountCode>0001413150</AccountCode>
                             <GlobalBusinessIdentifier>AU10</GlobalBusinessIdentifier>
                             <MonetaryAmount>0000000100.00</MonetaryAmount>
                             <GlobalCurrencyCode>AUD</GlobalCurrencyCode>
                             <RunDate>20080725</RunDate>
                             <Description>IV006270M000000000000000000001</Description>
                             <WorkBreakdownStructureElement/>
                             <BudgetRequest/>
                             <TransactionType/>
                             <TransactionNumber/>
                             <PostingKey>50</PostingKey>
                             <SalesTax>
                                  <SalesTaxCode/>
                                  <SalesTaxAmount/>
                             </SalesTax>
                             <PersonnelNumber/>
                             <Assignment/>
                             <CalculateTaxBase/>
                             <BaselineDate/>
                             <PaymentTerms/>
                             <MedicalReference/>
                        </PostingItem>
                        <PostingItem>
                             <ProfitCentre/>
                             <CostCentre/>
                             <SalesTax>
                                  <SalesTaxCode>P3</SalesTaxCode>
                             </SalesTax>
                        </PostingItem>
                        <PostingItem>
                             <ProfitCentre>7022001001</ProfitCentre>
                             <CostCentre/>
                             <AccountCode>0001701001</AccountCode>
                        </PostingItem>
                   </detail>
                   <trailer>
                        <thisDocumentGenerationDateTime>20090405T072928Z</thisDocumentGenerationDateTime>
                        <thisDocumentIdentifier>20090405T072928Z</thisDocumentIdentifier>
                   </trailer>
              </GL_Update>
         </Message>
    </Data>
    please help me on this
    it possible to achieve using JMS adapter or not?? what is the alternative solution ??
    Regards,
    raj

    Hi RSR,
    JMS is the better way to connect sonic MQ.below iam attaching you few points while using JMS.
    1.for the JMS adapter an external driver is needed (java archive)
    2.this archive is provided by the respective provider of the queuing system
    3.the driver has to be deployed via SDM , see XI configuration guide for details
    4.Routing rules and sender has to be specified as for any other channel in the directory
        object model
    5.the message header information is determined from the appropriate sender
       agreement for the communication channel
    6.the communication channel defined must be used in exactly one sender agreement
    7.at least the interface name and the sender service must be qualified in the
        sender agreement ,other fields are optional 
    Depending on the transport protocol selected, specify the following :
    8.For Sonic MQ JMS Provider :
    ·        Java class QueueConnectionFactory
    ·        Java class queue
    ·        IP address or server name
    ·        Server port
    ·        JMS queue
    9.JNDI JMS Provider Lookup
    ·        JNDI name of QueueConnectionFactory
    ·        JNDI name of JMS queue
    ·        Name of JNDI Initial Context Factory
    ·        Address of JNDI server
    ·        JNDI users
    ·        JNDI password with confirmation
    10.
    For WebSphereMQ (MQ Series) JMS Provider
    ·        Java class QueueConnectionFactory
    ·        Java class queue
    ·        IP address or server name
    ·        Queue manager name
    ·        Channel name
    ·        JMS queue
    ·        Character set for non-ASCll names
    ·        Transport/network protocol
    ·        Target client
    11.
    JMS Provider Administered Objects via File
       File name of serialized object QueueConnectionFactory
       File name of serialized object Queue
    With Rgds,
    MF.Haq

  • JMS adapter not picking the file

    Hello,
    I am working jms to jms scenario on PI7.0 Service Pack13. file is not able to pick up sendar JMS Channel. I am using WebSphereMQ Transport Protocol. JMS drivers are installed.
    I checked all parameters of JMS Adapter. no mistake in parameters. What is the problem. Please suggest as soon as possible.
    Thanks

    Hi,
    Whether the Driver file has been mentioned in Provider XML  file and check  the messages  are in the right sender Queue.
    Check the Port and Protocol are right one.
    Regards
    Agasthuri Doss

  • JMS Adapter not picking file in PI7.0

    Hello,
    I am working jms to jms scenario on PI7.0 Service Pack13. file is not able to pick up sendar JMS Channel. I am using WebSphereMQ Transport Protocol. JMS drivers are installed. ports and protocals are correct.
    I checked all parameters of JMS Adapter. no mistake in parameters. What is the problem. Please suggest as soon as possible.
    Thanks
    venkat

    Hi San ,
    Please checke the status of JMS communication channel. In Runtime work bench , U will get the adapter monitoring there if any activity happens it shows the event details .
    I hope picking the file is initial event so you can get some idea with those event log for Communication channel .
    Cheers,
    Reddy

  • JMS message from one application to the another appl in the same container?

    I have a question.
    Can I send JMS message from one application to the another application in the same container?
    If yes ...can you provide me info.
    I want to know in regards of EJB2.0 and EJB3.0.
    Thanks,
    Rahul

    So the receiver application is a Message Driven Bean, right?
    In your container, do you have a mean to ensure that it is correctly configured to listen the desired destination? Like an administrative console that would show the destinations, the number of pending messages, the number of active consummers...?
    btw what is the destination type? A queue or a topic?

  • How to receive message from queue based on JMSPriority

    Hi all,
    I want to receive message from Receive Message From Queue based on JMSPrirority.
    I am able to send message to queue using Send Message To Queue component with specifying Priority value as Five(Liternal value).
    Now, when I am trying to receive message from Queue by specifying JMSPriority='Five'; in Message selector, it is not working.
    But, when I use JMSPriority is not null in Message selector, I am able to receive message.
    How to receive message from queue by specifying exact value of JMSPriority.
    Please suggest.

    Hi WASIL,
    I tried with captial FIVE and it is not working.
    I tried also like operator and the standard example doesn't recieve messages based on priority.
    I am experiecing below error:
    Caused by: javax.jms.InvalidSelectorException: The selector is invalid: JMSPriority LIKE '%FIVE%';
        at com.adobe.livecycle.jms.QueueMessageReceiver.receiveMessageFromQueueWithPropertiesNoWait( QueueMessageReceiver.java:206)
        at com.adobe.livecycle.jms.JMSService.receiveMessageFromQueue(JMSService.java:413)
        at sun.reflect.GeneratedMethodAccessor1017.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
        ... 135 more
    Caused by: javax.jms.InvalidSelectorException: The selector is invalid: JMSPriority LIKE '%FIVE%';
        at org.jboss.jms.server.selector.Selector.<init>(Selector.java:107)
        at org.jboss.jms.server.endpoint.ServerSessionEndpoint.createConsumerDelegateInternal(Server SessionEndpoint.java:2103)
        at org.jboss.jms.server.endpoint.ServerSessionEndpoint.createConsumerDelegate(ServerSessionE ndpoint.java:277)
        at org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advise d$SessionAdvised$createConsumerDelegate$aop(SessionAdvised.java:94)
        at org.jboss.jms.server.endpoint.advised.SessionAdvised$createConsumerDelegate_8721389917985 689973.invokeTarget(SessionAdvised$createConsumerDelegate_8721389917985689973.java)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
        at org.jboss.jms.server.container.SecurityAspect.handleCreateConsumerDelegate(SecurityAspect .java:124)
        at sun.reflect.GeneratedMethodAccessor389.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:122)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
        at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
        at org.jboss.jms.server.endpoint.advised.SessionAdvised.createConsumerDelegate(SessionAdvise d.java)
        at org.jboss.jms.wireformat.SessionCreateConsumerDelegateRequest.serverInvoke(SessionCreateC onsumerDelegateRequest.java:100)
        at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandle r.java:165)
        at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:967)
        at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:791 )
        at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:744)
        at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:586)
        at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:234)
        at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:216)
        at org.jboss.remoting.Client.invoke(Client.java:2034)
        at org.jboss.remoting.Client.invoke(Client.java:877)
        at org.jboss.remoting.Client.invoke(Client.java:865)
        at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:189)
        at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:160)
        at org.jboss.jms.client.delegate.ClientSessionDelegate.org$jboss$jms$client$delegate$ClientS essionDelegate$createConsumerDelegate$aop(ClientSessionDelegate.java:267)
        at org.jboss.jms.client.delegate.ClientSessionDelegate$createConsumerDelegate_87213899179856 89973.invokeTarget(ClientSessionDelegate$createConsumerDelegate_8721389917985689973.java)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
        at org.jboss.jms.client.container.StateCreationAspect.handleCreateConsumerDelegate(StateCrea tionAspect.java:136)
        at org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect_z_handleCreateCon sumerDelegate_930384804.invoke(StateCreationAspect_z_handleCreateConsumerDelegate_93038480 4.java)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
        at org.jboss.jms.client.container.ConsumerAspect.handleCreateConsumerDelegate(ConsumerAspect .java:76)
        at org.jboss.aop.advice.org.jboss.jms.client.container.ConsumerAspect_z_handleCreateConsumer Delegate_930384804.invoke(ConsumerAspect_z_handleCreateConsumerDelegate_930384804.java)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
        at org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.j ava:92)
        at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
        at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:172)
        at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86)
        at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
        at org.jboss.jms.client.delegate.ClientSessionDelegate.createConsumerDelegate(ClientSessionD elegate.java)
        at org.jboss.jms.client.JBossSession.createConsumer(JBossSession.java:237)
        at org.jboss.jms.client.JBossSession.createConsumer(JBossSession.java:220)
        at org.jboss.jms.client.JBossSession.createReceiver(JBossSession.java:396)
        at com.adobe.livecycle.jms.QueueMessageReceiver.receiveMessageFromQueueWithPropertiesNoWait( QueueMessageReceiver.java:198)
        ... 140 more
    Please suggest

  • When I send a Group message from my address book, the entire group gets listed in the "To" line. How do I get each member to receive the message individually without listing all members? Its just messy is all.

    When I send a Group message from my address book, the entire group gets listed in the "To" line. How do I get each member to receive the message individually without listing all members? Its just messy is all. Any help is greatly appreciated.

    Hey Grupo Castillo,
    Thanks for the question. You can actually configure this behavior from Mail preferences:
    1. Choose Preferences from the Mail menu.
    2. Click Composing.
    3. Deselect the checkbox for "When sending to a group, show all member addresses".
    When you send an email to the group, only the groups name will be seen.
    Mac OS X: Mail - How to Hide Address Book Group Member Names When Sending an Email
    http://support.apple.com/kb/TA21082
    Thanks,
    Matt M.

  • When I start installing the Program Manager it gives a message from adobe saying that the software appears to be counterfeit (error code 205)

    When I start installing the Program Manager it gives a message from adobe saying that the software appears to be counterfeit (error code 205)

    Errors 201 & 205 & 206 & 207 or several U43 errors
    -http://helpx.adobe.com/creative-cloud/kb/error-downloading-cc-apps.html
    or
    A chat session where an agent may remotely look inside your computer may help
    Creative Cloud chat support (all Creative Cloud customer service issues)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html

  • How do you transfer pictures,video's and text messages from iphone 4 to the new model

    How do you transfer pictures,video's and text messages from iphone 4 to the new model?

    http://support.apple.com/kb/ht2109

  • When I get messages from Barnes and Noble, the text is blank. If I hit reply or forward, I can then see the content. This only happens with Barnes and Noble. Any suggestions on how to view the content?

    When I get messages from Barnes and Noble, the text is blank. If I hit reply or forward, I can then see the content. This only happens with Barnes and Noble. Any suggestions on how to view the content?

    I'm sorry, but your sister, unless she had already turned on the "Find my iPhone" feature and the person who took the phone has not disabled it, is out of luck. She should report the theft to local police authorities, including the serial number of her iPhone. While her experience is unfortunate, there are good reasons why Apple cannot do anything else about it.
    I hope she gets her phone back.
    Best of luck.

  • After i update my mobile sim card its not working i got message from apple to change the sim card and i cant change it please i want fix the problem

    after i update my mobile sim card its not working i got message from apple to change the sim card and i cant change it please i want fix the problem

    Yes, the message is self-explanatory. You need a carrier who supports Apple's activation policy for an iPhone.
    iPhone: Wireless carrier support and features - Support - Apple

Maybe you are looking for

  • Help Required: Updating Multiple dynamically created rows in database

    Hi All, In my jsp page I am retriving the values from the database and displaying in the jsp page, the columns are studentID and student name. Now for each studentID i am creating two textfields as date of birth and parent name. my code snippet is as

  • Consignment fill-up - Output Printing Problem - Z customizing problem

    Dear Gurus, I have customized and copied the following 2 sales documents types: - OR - KB into ZSTA and ZKB When I create a Sales Order using VA01 and ZSTA, and chose 1 material + 1 service, the printed invoice clearly shows 2 items for each one of t

  • TOSHIBA LEPTOP L100 SOUND PROBLEM

    i have toshiba satellite L 100 system laptop my sound driver is not working to fix problem is there free driver to downlod.....

  • 3 level authorization table structure

    Hi ,     I have an application, I want add a feature of maker,checker and authorize for every record in a table. I am explaining in below details. Ex : -      Suppose I have one table called Employee table. There are 3 users are there. one is maker,

  • IPad not showing all images on websites

    I've been having problems with the iPad not showing all the images on websites. It tends to do it on forums with threads that are picture heavy. It will show the first few, then the rest will Be replaced with a blue icon with a question mark in it. I