OC4J 9.0.4: Problem receiving message from JMS queue

I've created an application which puts XML files in a JMS queue and try to get it out again. The enqueing (sending) is no problem, but when I dequeue from the same queue I receive nothing and if I don't specify a wait time the programs hangs.
If I create a QueueBrowser I can see there are messages in the queue.
Can someone tell me what I do wrong?
Here is the code of my dequeue action:
public String dequeue(int qName) throws RbsSysException
        final String method = "dequeue(int qName)";
        _log.debug(method);
        QueueConnection queueConnection = null;
        try
            queueConnection = _queueConnectionFactory.createQueueConnection();
            QueueSession queueSession = queueConnection.createQueueSession(false,
                    Session.AUTO_ACKNOWLEDGE);
            QueueReceiver queueRcv = queueSession.createReceiver(getQueue(qName));
            _log.debug("queue = "+ queueRcv.getQueue().getQueueName());
            // Due to bug 3376983 in OC4J We cannot use TextMessage if it exceeds
            // 64 kb. Therefore use ObjectMessage.
            Message msg = queueRcv.receiveNoWait();
            _log.debug("msg = " + msg);
            ObjectMessage objMsg = (ObjectMessage)msg;
            //ObjectMessage objMsg = (ObjectMessage) queueRcv.receiveNoWait();
            _log.debug("objMsg = " + objMsg);
            if (objMsg != null)
                return (String) objMsg.getObject();
            else
                return null;
        catch (JMSException je)
            throw new RbsSysException(je);
        finally
            if (queueConnection != null)
                try
                    queueConnection.close();
                catch (Exception any)
                    _log.error("Error while closing QueueConnection: ", any);
    }

Did you implement javax.jms.MessageListener and the method onMessage(Message)?
If you use onMessage() as wel as receive (or receiveNoWait() or receive(long)), the onMessage() can be called, while the main thread is blocking on a synchronous receive, so make sure you use only one of the two methods: onMessage() or receive.
Receive() blocks your thread until a message is published. So your program 'hangs' by design. Usually this is used when your program is waiting for a particular message. Otherwise use onMessage().
ReceiveNoWait() checks if something is in the queue at that very moment, so if nothing is there (yet), the main thread continues.
Hope this helps,
Lonneke

Similar Messages

  • Recieve/Read  Messages  from JMS Queue through ALSB

    Hi,
    I have configured JMS Queue in weblogic server.
    I have created Messaging Service in ALSB which sends messages in MESSAGE QUEUE.
    Now Is it possinle to receive messages from JMS Queue by creating business service in Aqualogic Service bus???

    Hi dear,
    <br>
    I am sending Message through Serializable Object.
    <br>
    I have JMS Proxy which gets invoked when i send message to JMs Queue. JMS Proxy then calls business service.
    <br>
    <br>
    Business Service has two functions. One is taking String as input and one is taking Serializable Object as Input.
    <br>
    <br>
    public void recieveString(String str)<br>
    public void recieveObject(Trade obj)<br>
    --------------------------------------------------<br>
    Now I have configured Proxy Services' Request and Response
    Message Type as a "TEXT". and I am sending ObjectMessage here so what kind of change I require.
    <BR>
    I also want to configure my proxy so that if JMS queue recieves TextMessage then it should invoke reciveString() function and if Object Message then vice versa.....
    <BR><BR>
    But i am not able to handle object even...
    When I am sending Object Message it takes as a TextMessage.
    I am getting following exception when I am sending Object Message to JMS QUEUE. Request and Response Message types are XML Schema of that object.
    <BR>
    <BR>
    <Nov 30, 2006 4:57:19 PM IST> <Warning> <EJB> <BEA-010065>
    <BR>
    <MessageDrivenBean threw an Exception in onMessage(). The exception was: java.lang.AssertionError.<BR>
    java.lang.AssertionError at com.bea.wli.sb.transports.jms.JmsInboundMDB.onMessage(JmsInboundMDB.j
    ava:112)
    at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:42
    9)
    at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDL
    istener.java:335)
    at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:
    291)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4060)
    Truncated. see log file for complete stacktrace
    >
    Message was edited by:
    alwaysvaghu

  • DefaultMessageListenerContainer Does receive message from remote Queue

    I am developing an application where I need to consume JMS messages from JMS Queue on remote weblogic server 10.3.3.0. My application is deployed WLS 10.3.2.0 and I using Spring 2.5.6. In my spring configuration, I have used Springframework's DefaultMessageListenerContainer to listen to the Queue on remote server.
    Now I have two scenarios in which DMLC does not consumer messages without server restart.
    Scenario 1: When the Remote server on which the JMS queue resides is restarted. DMLC stops consuming message from the Queue on remote server. After I restart my server, it starts consuming messages. But I want that DMLC starts consuming messages without the restarting server at my end.
    Scenario 2: When the remote server is running and I update/Redploy my application on WLS at my end. In this case also, DMLC stops receiving messages and I have to restart server at my end.
    Could anyone please help sorting out this issue?

    This seems like a Spring question, you might want to ty the Spring forums. I'm not sure why you would get the behaviour you see.

  • How to get the XML messages from JMS Queue in BPM

    I have one requirement in my application.we are sending XML messages to the JMS Queue.How to get the XML messages from JMS Queue and how to Extract the details from XMl.
    can you please send me the code to get the XML messages from the JMS Queue.
    Thank you,

    Hi,
    Sure others will have some other ideas, but here's what I typically do to get the XML from a JMS queue. Inside the Global Automatic that pops the messages off the queue you'd have logic similar to this:
    artifactInfoNodes as Any[]
    xmlObject as Fuego.Xml.XMLObject = XMLObject()
    load xmlObject using xmlText = message.textValue
    . . . Once you have this, it's a matter of deciding what you want to do with the message. Most times you'll parse the XML (using XPATH statemens), set argument variables and create a work item instance.
    Hope this helps,
    Dan

  • How to read Java Object message from JMS Queue using JMS Adapter .

    Dear All,
    In my scenario i have to read a java object message from JMS Queue . I tried by using the JMS Adaper ,but i am not getting any Payload . Can any one tell me is there any special settings for JMS Adapter to read the Java Object message .
    I am able to read the Message successfully thru JMS Adapter but in SXMB_MONI it is not showing any payload .
    I also went in Message monitoring but i am getting this type of message in Sender JMS Adapter  in Audit Log.
    JMS Message ID XXXXX Message Type Null unknown.Payload can not be read and will be empty.
    JMS Message ID XXXXX Payload Empty can not read.
    Please Help.
    Lateef

    Hi,
    As far as i know, JMS Object Messages is not supported by XI JMS adapter.
    you need to have the JMS provider to transform the message to bytes messages.
    (Refer to SAP note 856346)

  • I want to use ODI to read XML messages from JMS queue and then process it..

    I want to use oracle ODI (Oracle Data Integrator) to read XML messages from JMS queue and then process it.. i also want to process and validate the data in it....
    Could anyone please tell me the steps to achieve the same. I tried some ways which i got on OTN, but not able to implement it exactly...
    As i m very new to ODI, it will be great if you provide detailed steps..
    Thanks in advance for your help....

    Hi,
    Were you able to do it? We are facing this same issue now and, despite the fact the docs say otherwise, it does not seem to be a trivial task.
    TIA,
    Tedi

  • Problem receiving messages from M$ ISA Server...

    I'm having a problem receiving messages on our Ironport from a M$ ISA Server cluster at another organization. When they try to send us messages and they leave a specific machine (x.x.169.233) it doesn't work. When the messages leave the other machine (x.x.169.237), it works just fine. However, if the .233 machine gets turned off, the .237 machines then fails to send us messages as well. See the following injection debug logfile for specifics:
    Tue Jun 14 15:41:33 2005 Info: 18064693 Sent to 'x.x.169.233': '220 mta1.RecipientDomain.edu ESMTP\r\n'
    Tue Jun 14 15:41:33 2005 Info: 18064693 Rcvd from 'x.x.169.233': 'EHLO smtp.SenderDomain.edu\r\n'
    Tue Jun 14 15:41:33 2005 Info: 18064693 Sent to 'x.x.169.233': '250-mta1.RecipientDomain.edu\r\n250-8BITMIME\r\n250 SIZE 209715200\r\n'
    Tue Jun 14 15:41:33 2005 Info: 18064693 Rcvd from 'x.x.169.233': 'MAIL FROM:<[email protected]> SIZE=4228\r\n'
    Tue Jun 14 15:41:33 2005 Info: 18064693 Sent to 'x.x.169.233': '250 sender <[email protected]> ok\r\n'
    Tue Jun 14 15:41:33 2005 Info: 18064693 Rcvd from 'x.x.169.233': 'RCPT TO:<[email protected]>\r\n'
    Tue Jun 14 15:41:33 2005 Info: 18064693 Sent to 'x.x.169.233': '250 recipient <[email protected]> ok\r\n'
    Tue Jun 14 15:41:33 2005 Info: 18064693 Rcvd from 'x.x.169.233': 'DATA\r\n'
    Tue Jun 14 15:41:33 2005 Info: 18064693 Sent to 'x.x.169.233': '354 go ahead\r\n'
    Tue Jun 14 15:41:45 2005 Info: 18064718 Sent to 'x.x.169.233': '220 mta1.RecipientDomain.edu ESMTP\r\n'
    Tue Jun 14 15:41:45 2005 Info: 18064718 Rcvd from 'x.x.169.233': 'EHLO smtp.SenderDomain.edu\r\n'
    Tue Jun 14 15:41:45 2005 Info: 18064718 Sent to 'x.x.169.233': '250-mta1.RecipientDomain.edu\r\n250-8BITMIME\r\n250 SIZE 209715200\r\n'
    Tue Jun 14 15:41:45 2005 Info: 18064718 Rcvd from 'x.x.169.233': 'MAIL FROM:<[email protected]> SIZE=4211\r\n'
    Tue Jun 14 15:41:45 2005 Info: 18064718 Sent to 'x.x.169.233': '250 sender <[email protected]> ok\r\n'
    Tue Jun 14 15:41:45 2005 Info: 18064718 Rcvd from 'x.x.169.233': 'RCPT TO:<[email protected]>\r\n'
    Tue Jun 14 15:41:45 2005 Info: 18064718 Sent to 'x.x.169.233': '250 recipient <[email protected]> ok\r\n'
    Tue Jun 14 15:41:45 2005 Info: 18064718 Rcvd from 'x.x.169.233': 'DATA\r\n'
    Tue Jun 14 15:41:45 2005 Info: 18064718 Sent to 'x.x.169.233': '354 go ahead\r\n'
    Tue Jun 14 15:45:17 2005 Info: 18065031 Sent to 'x.x.169.233': '220 mta1.RecipientDomain.edu ESMTP\r\n'
    Tue Jun 14 15:45:17 2005 Info: 18065031 Rcvd from 'x.x.169.233': 'EHLO smtp.SenderDomain.edu\r\n'
    Tue Jun 14 15:45:17 2005 Info: 18065031 Sent to 'x.x.169.233': '250-mta1.RecipientDomain.edu\r\n250-8BITMIME\r\n250 SIZE 209715200\r\n'
    Tue Jun 14 15:45:17 2005 Info: 18065031 Rcvd from 'x.x.169.233': 'MAIL FROM:<[email protected]> SIZE=4211\r\n'
    Tue Jun 14 15:45:17 2005 Info: 18065031 Sent to 'x.x.169.233': '250 sender <[email protected]> ok\r\n'
    Tue Jun 14 15:45:17 2005 Info: 18065031 Rcvd from 'x.x.169.233': 'RCPT TO:<[email protected]>\r\n'
    Tue Jun 14 15:45:17 2005 Info: 18065031 Sent to 'x.x.169.233': '250 recipient <[email protected]> ok\r\n'
    Tue Jun 14 15:45:17 2005 Info: 18065031 Rcvd from 'x.x.169.233': 'DATA\r\n'
    Tue Jun 14 15:45:17 2005 Info: 18065031 Sent to 'x.x.169.233': '354 go ahead\r\n'
    Tue Jun 14 15:45:19 2005 Info: 18065033 Sent to 'x.x.169.233': '220 mta1.RecipientDomain.edu ESMTP\r\n'
    Tue Jun 14 15:45:19 2005 Info: 18065033 Rcvd from 'x.x.169.233': 'EHLO smtp.SenderDomain.edu\r\n'
    Tue Jun 14 15:45:19 2005 Info: 18065033 Sent to 'x.x.169.233': '250-mta1.RecipientDomain.edu\r\n250-8BITMIME\r\n250 SIZE 209715200\r\n'
    Tue Jun 14 15:45:19 2005 Info: 18065033 Rcvd from 'x.x.169.233': 'MAIL FROM:<[email protected]> SIZE=4228\r\n'
    Tue Jun 14 15:45:19 2005 Info: 18065033 Sent to 'x.x.169.233': '250 sender <[email protected]> ok\r\n'
    Tue Jun 14 15:45:19 2005 Info: 18065033 Rcvd from 'x.x.169.233': 'RCPT TO:<[email protected]>\r\n'
    Tue Jun 14 15:45:19 2005 Info: 18065033 Sent to 'x.x.169.233': '250 recipient <[email protected]> ok\r\n'
    Tue Jun 14 15:45:19 2005 Info: 18065033 Rcvd from 'x.x.169.233': 'DATA\r\n'
    Tue Jun 14 15:45:19 2005 Info: 18065033 Sent to 'x.x.169.233': '354 go ahead\r\n'
    It seems to be failing consistently right after the DATA command. Has anyone else seen anything like this? M$ says they don't see anything wrong with the source system and they made vague references to "having problems sending to e-mail appliances in the past".
    Randle

    We've run into problems SENDING to MS servers in the past, when there was a SonicWall TZ170 between them, but I have never had a problem (that I am aware of) RECEIVING from an MS server. The symtoms were sortof similar though. We would send a period on a line by itself to terminate the message, but would never get the 250 Message Accepted message from the MS server. We found out that the TZ170 was dropping the packet. There was a firmware revision released about this time last year for the TZ170 that corrected the issue.
    Since this probably isn't exactly the case, but appears similar, you may want to sniff the connection and see if a packet is getting dropped by a firewall/router in the middle.

  • Configuring MDB to receive message from MQSeries Queues bound on WL JNDI

    Hi,
    I am using weblogic7.0 sp2. I need to configure my MDB to receive message from MQ Series (on a different server). The queue is bound to WL JNDI using a server startup program.
    Anyone with experiece, please help.
    Thanks,
    Fasih

    I'd start here:
    http://e-docs.bea.com/wls/docs70/faq/index.html
    -- Rob
    WLS Blog http://dev2dev.bea.com/blog/rwoollen/

  • Weblogic 10.3 Not Removing Expired Messages from JMS Queues

    Dear All,
    We have an application that is running on Weblogic 10.3.
    This application (let us call this application Y) receives messages on a JMS queue. These messages are placed on the queue by another application (let us call this application X). We would like to have these messages expire within a certain amount of time (i.e. 90000 ms) if they are not consumed.
    Now when application X places the messages onto the queue for application Y to consume, the JMS producer sets the time to live to 90000 ms. We can see that expiration time has been set appropriately in the weblogic console. If a message sits on the queue for longer than 90000 ms the state string of the message is changed to "receive expired". What we don't understand is why the expired messages still end up being consumed from the queue.
    We understand that Weblogic is supposed to have an 'Active Message Expiration' thread that will remove expired messages from the queue. The Expiration Scan Interval for the JMS Server is set to 30 (seconds).
    Can anyone tell us why our expired messages don't seem to be deleted from the queues?
    Tim

    Thank you for the response Rene.
    We have set up both the active expiration scan and the message expiration policy. The active expiration scan is set for every 30 seconds. The message expiration policy is set to "discard". However, the expired messages are still being consumed. Is it possible we are doing something wrong? See a portion of our configuration files below.
    We have set up the expiration scan time interval. See a portion of our config.xml below:
    <jms-server>
    <name>brokerJMSServer</name>
    <target>AdminServer</target>
    <persistent-store xsi:nil="true"></persistent-store>
    <store-enabled>true</store-enabled>
    <allows-persistent-downgrade>false</allows-persistent-downgrade>
    <hosting-temporary-destinations>true</hosting-temporary-destinations>
    <temporary-template-resource xsi:nil="true"></temporary-template-resource>
    <temporary-template-name xsi:nil="true"></temporary-template-name>
    <message-buffer-size>-1</message-buffer-size>
    *<expiration-scan-interval>30</expiration-scan-interval>*
    <production-paused-at-startup>false</production-paused-at-startup>
    <insertion-paused-at-startup>false</insertion-paused-at-startup>
    <consumption-paused-at-startup>false</consumption-paused-at-startup>
    </jms-server>
    <jms-system-resource>
    <name>broker-jms</name>
    <target>AdminServer</target>
    <sub-deployment>
    <name>EhrBrokerRequestQueue</name>
    <target>brokerJMSServer</target>
    </sub-deployment>
    <descriptor-file-name>jms/broker-jms.xml</descriptor-file-name>
    </jms-system-resource>
    <admin-server-name>AdminServer</admin-server-name>
    We have set up the message expiration policy in our jms descriptor. See a portion below:
    <?xml version='1.0' encoding='UTF-8'?>
    <weblogic-jms xmlns="http://www.bea.com/ns/weblogic/weblogic-jms" xmlns:sec="http://www.bea.com/ns/weblogic/90/security" xmlns:wls="http://www.bea.com/ns/weblogic/90/security/wls" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-jms http://www.bea.com/ns/weblogic/weblogic-jms/1.0/weblogic-jms.xsd">
    <queue name="EhrBrokerRequestQueue">
    <delivery-params-overrides>
    <redelivery-delay>-1</redelivery-delay>
    </delivery-params-overrides>
    <delivery-failure-params>
    <redelivery-limit>-1</redelivery-limit>
    *<expiration-policy>Discard</expiration-policy>*
    </delivery-failure-params>
    <jndi-name>EhrBrokerRequestQueue</jndi-name>
    </queue>
    </weblogic-jms>
    What could we be doing wrong?
    Kind Regards,
    Tim

  • Debatching is possible when we are reading messages from JMS queue

    Hi all,
    If i place a message in a queue can i read the message from JMS using BPEL ( JMS Adapter ) or OSB( JMS Transport ) like batcth rather than reading the whole message in to the OSB or BPEL at the same time .
    is this option is available in OSB/BPEL ??
    Thanks
    Phani

    Hi all,
    If i place a message in a queue can i read the message from JMS using BPEL ( JMS Adapter ) or OSB( JMS Transport ) like batcth rather than reading the whole message in to the OSB or BPEL at the same time .
    is this option is available in OSB/BPEL ??
    Thanks
    Phani

  • Pulling message from JMS queue

    Hi,
    I'm looking to pull messages from a JMS queue and have tried setting up a Business Service that doesn't send a request but only expects a response. Doesn't seem to work, I'm unable to pull messages from a queue (I don't want to set up a Proxy Service that listens) - is there a standard way of doing this in ALSB?
    Thanks.

    This is not a supported feature. The best solution is to write a java callout to pull the message from the queue.
    Gregory Haardt
    ALSB Prg. Manager
    [email protected]
    Edited by ghaardt at 09/11/2007 4:00 PM

  • How to read message from JMS queue as a ByteMessage

    Hi,
    i want to browse a xml message from a JMS queue(in Weblogic 8.1) as a ByteMessage instance and then need to put it into byte array .
    Then i want to read each byte by byte from that array.
    Can any one please help me to solve it.
    (i am using java language in the program to browse message from a queue).
    Thanks in advance.
    Regards,
    Deba

    You can refer to the following link for the detailed steps :-
    Link :[http://www.informit.com/articles/article.aspx?p=170722&seqNum=3]

  • Exception in OSM 7.0 when XSLT Automator received message from JMS

    Hi
    I have been prototyping on OSM 7.0 on Linux. I have a simple project, with two "Automated tasks" and some manual tasks.
    The first Automated task is using a XSLT Sender, and sends a message to a JSM queue "A".
    The second Automated task is using a XSLT Automator to listen for a JMS message received from an external system in JMS queue "B".
    I have setup a JMS bridge on the WebLogic server where OMS is running, so that messages in queue "A" are forwared to queue "B".
    So I am seeing messages being sent to queue A and then forwarded to queue B.
    However, I keep getting exceptions when OSM is trying to process the messages received at queue B.
    It complains about "ORA-20503: no current hist_seq_id found for given automation context.".
    Does anybody know what this means ?
    At first I thought it might be the "JMSCorrelationId" for the message which arrived at queue B which was wrong, but that does not seem to be the case, because if I sent a dummy message with a dummy JMS correlation id, then I get another exception : "ORA-20502: Automation context not found.". This exception is ok, and I understand the reason for it.
    Here are som excerpts from the log file for the "no current hist_seq_id found" case :
    com.mslv.oms.dataaccesslayer.ProxyException: ORA-20503: no current hist_seq_id found for given automation context.
    ORA-06512: at "ORDERMGMT.OM_AUTOMATION_PKG", line 27
    ORA-06512: at "ORDERMGMT.OM_AUTOMATION_PKG", line 88
    ORA-06512: at line 1
    Nested Exception: ORA-20503: no current hist_seq_id found for given automation context.
    ORA-06512: at "ORDERMGMT.OM_AUTOMATION_PKG", line 27
    ORA-06512: at "ORDERMGMT.OM_AUTOMATION_PKG", line 88
    ORA-06512: at line 1
    Nested Exception: java.sql.SQLException: ORA-20503: no current hist_seq_id found for given automation context.
    ORA-06512: at "ORDERMGMT.OM_AUTOMATION_PKG", line 27
    ORA-06512: at "ORDERMGMT.OM_AUTOMATION_PKG", line 88
    ORA-06512: at line 1
         at com.mslv.oms.dataaccesslayer.a.execute(Unknown Source)
         at com.mslv.oms.dataaccesslayer.CallableProxy.execute(Unknown Source)
         at com.mslv.oms.automation.plugin.AutomationDispatcherImpl.getClusterRequestContext(Unknown Source)
         at oracle.communications.ordermanagement.cluster.message.ClusterMessageHandlerBean.onMessage(Unknown Source)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
         Truncated. see log file for complete stacktrace
    java.sql.SQLException: ORA-20503: no current hist_seq_id found for given automation context.
    ORA-06512: at "ORDERMGMT.OM_AUTOMATION_PKG", line 27
    ORA-06512: at "ORDERMGMT.OM_AUTOMATION_PKG", line 88
    ORA-06512: at line 1
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
         Truncated. see log file for complete stacktrace
    <11-Feb-2010 12:32:05,954 CET PM> <ERROR> <message.ClusterMessageHandlerBean> <ExecuteThread: '12' for queue: 'oms.automation'> <Failed to process cluster request due to ClusterRequestContext = NULL>
    <Feb 11, 2010 12:32:05 PM CET> <Error> <oms> <BEA-000000> <message.ClusterMessageHandlerBean: Failed to process cluster request due to ClusterRequestContext = NULL>
    <Feb 11, 2010 12:32:06 PM CET> <Warning> <EJB> <BEA-010065> <MessageDrivenBean threw an Exception in onMessage(). The exception was:
    java.lang.RuntimeException: No transaction associated with request.
    java.lang.RuntimeException: No transaction associated with request
         at oracle.communications.ordermanagement.cluster.message.ClusterMessageHandlerBean.onMessage(Unknown Source)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4585)
         Truncated. see log file for complete stacktrace
    Regards
    Alf Hogemark
    Edited by: user494649 on 11.feb.2010 04:26
    Edited by: user494649 on 11.feb.2010 04:27

    Hi,
    I am trying to send message using XSLT sender for an automated task from osm 6.3.1 to ASAP 7.0, and also raised a request "Unable to deploy ATM/FrameRelay plugins for OSM 6.3.1" as i am stuck with an error- Null pointer Exception. could you share how did u deploy and register the plugins for sending message on automated tasks?
    i am using ant for deploying the catridge and plugins,
    Also could you point me the reason for the error
    Thanks in advance.

  • Can 1 MDB configured to receive messages from 2 Queues

    Hi,
    Is is possible to configure 1 MDB to listen to 2 queues

    Deploying the very same MDB twice is not a "trick" or unusual as your comment suggests. A MDB is a stateless component. It just receives messages. If you deploy the same MDB twice and link it to different queues, it is exactly as if one MDB where configured to receive from 2 queues.
    So everything is possible with MDBs. You can consume from multiple destinations and can even mix queues and topics. The only thing you must keep in mind is that you have at least that many MDB instances (of the same MDB) as destinations (= MDB deployments). However, for scalability reasons you would have multiple MDB instances in most cases.
    I don't see a reason why sombody should switch to a proprietary thing like your MDS and I don't understand why you mention this in nearly every post. Buy banner ads instead.
    -- Andreas

  • OSB - Service to receive message from JMS and route to different queues

    Hi,
    I am completely new to SOA suite, so please bear my question :)
    I have a requirement to send XML messages to the different queues(external client facing queue) based on their contents. These XML messages are generated inside the application based of various business scenarios.
    We have adapted following approach to do it
    1. Application Service will construct the message and send it to the internal JMS queue (We are intending to use JAXB objects to construct message)
    2. On the OSB, we need to define a service, which will keep polling messages from this intermediate jms queue
    and somehow based on some routing information, it will post those messages to the respective external facing queue.
    For the first part I am using spring's JmsTemplate to send message to queue
    For second part - I am not sure what should be the approach?
    we are using Oracle 10g Fusion Middleware
    Please guide
    Cheers

    Thank you guys for all your help. Very soon I will try and see how it works. Meantime just an additional question
    Do I need to define a canonical xsd for all different types of xml messages? so that proxy can extract the routing info and route the actual message to different queues?
    And re-directing to different queue in OSB means I need to define business service for each queue or I can put message directly into the destination queue by referring its jndi name in the proxy service configuration?
    Regards,
    Y

Maybe you are looking for