Message Listener listens only 1 queue in the configuration of distributed queues!

Hi guys,.

This may be the wrong place for this post.

We have created a system of e-mail with the OSB proxies come and messages between distributed queues. After all this messages autour brewing, the messages themselves in a distributed queue where a java client is waiting to pick up the results. Our problem is that it is only reading one of the queues in this queue distributed.

The following is the code segment that wants the message with a specific id:
public Message (String queueName, String messageId) receiveMessage throws {FrameworkException}
BytesMessage, bytesMessage = null;
If (null == queueSession) {}
init();
}
try {}
Queue receiveQueue = lookupQueue (queueName);
QueueReceiver queueReceiver = null;
Channel selector = null;
If (null == messageId) {}
queueReceiver = queueSession.createReceiver (receiveQueue);
} else {}
selector = "JMSCorrelationID = '" + messageId + "'";
queueReceiver = queueSession.createReceiver (receiveQueue, selector);
}

bytesMessage (BytesMessage) = queueReceiver.receive ();
queueReceiver.close ();
} catch {...


QueueReceiver.receive () will listen to all members in a distributed queue (spread over 2 servers managed in a cluster)?

Thank you very much

No.. Since you have a single consumer, he can listen to only one destination member.

Is your java client to run in Server or an external client? If its operation in Server convert the client to an mdb.

Since this one issue of jms, try to post in the forum of jms:
WebLogic Server - JMS

Tags: Fusion Middleware

Similar Questions

  • When you print an e-mail message, it displays only a quarter of the page and then another quarter of page in the next and following pages.

    My printer works perfectly on all other programs, but when I print an e-mail message from windows mail it only prints on one quarter of the page. I looked at the properties of the printer and it is selected for the 8 1/2 x 11 papper and all other properties appear to be the same as for any other program. Think there must be something in Windows Mail which is the cause of the problem

    Check your Internet Explorer (Yes, IE), margins.

    IE | File | Page layout. Default is 0.75, (19mm), all around.

    Bruce Hagen ~ MS - MVP [Mail]

  • When I try to install "fixit performance", an error message "convenience store is not compatible with the configuration of the system perceive."

    Software - Microsoft Fixit Performance name

    Hello lalit304,

    I suggest you post this question to the address provided by Joselbarra.  I suggest you to provide as much system information about your computer when you post.

    Microsoft Fix it Center:

    http://social.Microsoft.com/forums/is/fixitcenter/threads

  • Error message - "this application could not start because the side-by-side - configuration - is incorrect, when you access programs."

    Hello

    Any help step by step to address this issue would be welcome

    On a Fujitsu laptop running Vista and MS office 2010, when I try to access word, excel, or one of the other programs, I get the following error message - "this application could not start because the configuration - side by side - is incorrect." see the applications for more information event log"

    Thank you in anticipation

    Hi BackrowSteve,

    1. did you of recent changes on the computer?

    Method 1:

    If you are facing the issue only with the Office programs, you can read the following article and check if that helps:

    http://blogs.technet.com/b/AppV/archive/2010/06/10/solution-possible-side-by-side-error-when-sequencing-Office-2010-on-Windows-Vista.aspx

    Method 2:

    If not, then you can uninstall all existing versions of Microsoft Visual C++ Redistributable Package and install the latest version of Microsoft Visual C++ 2010 redistributable and check if it helps.

    Step 1: To uninstall the package:

    a. open programs and features.

    b. in the list, find the Package redistributable Microsoft Visual C++ and click on it.

    c. click on uninstall at the top of the list.

    Step 2: Download and install the latest package depending on the version of Windows Vista, you use and see if it helps.

    Package redistributable Microsoft Visual C++ 2010 (x 86)

    Package redistributable Microsoft Visual C++ 2010 (x 64)

    Hope this information is useful.

  • I ve Mac OS El Capitan 10.11 and I ve downloaded the Adobe digital editions to be able to listen to audio books purchased. Right now they are in your library but the hoe I listen on my computer and the Iphone. Now I can read only them and it s audio

    I ve Mac OS El Capitan 10.11 and I ve downloaded the Adobe digital editions to be able to listen to audio books purchased. Right now they are in your library but the hoe I listen on my computer and the Iphone. Now I can read only them and it s I ve of purchased audio books?

    You posted in the wrong forum. I moved it to the right one.

  • SMS for outgoing SMS listener throws IOException immediately after the open call

    I had already created a class for sending SMS messages which worked perfectly until I added the listener. When the listener is added as soon as I start the thread throws an IOException exception who am I hurting? The only thing I can think is some kind of wire problem, please help.

    Here's the SMS & Listener class:

    private static final class SmsMessage    {        private String _address;        private String _msg;
    
            public SmsMessage(String address, String msg)        {            _address = address;            _msg = msg;        }
    
            public Message toMessage(MessageConnection mc)        {            TextMessage m = (TextMessage)mc.newMessage(MessageConnection.TEXT_MESSAGE,"sms://" + _address);            m.setPayloadText(_msg);            return m;        }    } // SmsMessage
    
       private final class SendThread extends Thread    {        private static final int TIMEOUT = 500; // ms        private Vector _msgs = new Vector(10); // Queue of 10        private volatile boolean _start = false;
    
            // queue requests        public synchronized void send(String address, String msg)        {            _start = true;            _msgs.addElement(new SmsMessage(address, msg));        }
    
            public synchronized void stop()        {            _stop = true;            try {                if ( _mc != null ){                    _mc.close();                }            } // catch (IOException e ) {                catch (Throwable t) {                t.printStackTrace();                System.exit(0);            }
    
            }
    
            public void run()        {            try {                //closed by the stop() method                _mc = (MessageConnection)Connector.open("sms://");
    
                    if (_mc != null)                {                    // set a listener to trap outgoing sms messages                    _mc.setMessageListener(new OutboundSMSListener());                }                for(;;)                {                    while( !_start && !_stop)                    {                        try {                            sleep(TIMEOUT);                        } // catch (InterruptedException e) {                            catch (Throwable t) {                                t.printStackTrace();                                System.exit(0);                            }                    }                    if ( _stop )                    {                        return;                    }
    
                        while(true)                    {                        try {                            SmsMessage sms = null;                            synchronized (this)                            {                                if ( !_msgs.isEmpty() )                                {                                    sms = (SmsMessage)_msgs.firstElement();                                    // take it out of the queue once we sent it                                    _msgs.removeElement(sms);                                }                                else                                {                                    _start = false;                                    break;                                }                            }
    
                                _mc.send(sms.toMessage(_mc));
    
                            } // catch (IOException e) {                            catch (Throwable t) {                                t.printStackTrace();                                System.exit(0);                        }                    }                }            } // catch (IOException e)              catch (Throwable t) {                t.printStackTrace();                System.exit(0);              }        }    } // SendThread
    
        private static final class OutboundSMSListener implements OutboundMessageListener    {        public void notifyIncomingMessage(MessageConnection messageconnection)        {            // we don't care about incoming sms messages right now        }
    
            public void notifyOutgoingMessage(Message message)        {            Dialog.alert("Detected An Outgoing SMS Event");        }    }
    

    Thank you. Makes sense.

  • FRM-10142 the http listener does not work on the name of the computer to the port 80

    Hello

    During the race, the oracle 12 c form a following error message

    FRM-10142 the http listener does not work on the name of the computer to port 80. Please start the receiver or check your preferences of runtime.

    Sandy

    First, you will need to check the SST is running.

    go to admin server url in your browser, click on the target icon that is left top of your admin home go to the http server and then start your ohs1.

    and open your generator of forms go to the updated runtime default url like e.g. OSH, you can find your url such as http://localhost:7777 or http://localhost:7779.

    your full url looks like this format http://localhost:7777/forms/frmservlet or http://localhost:7779/forms/frmservlet.

    Localhost can be your default ip 127.0.0.1 or any static ip 192.0.0.10 address in this format.

  • A listener by server or a listener instance?  What is the best practice?

    I joined a company owner and new oracle DBA uses a listener and a port (by default) by server.  We have 7 instances of oracle on a server database using the same listener.  I always created a new listener. / netca or make entries manually by database instance. / dbca

    What is the best practice?  My argument for the creation of a separate listener is to be able to restrict connections and accelerator by database using the parameters and the params of the listener.  With a listener, it seems impossible to use several listener settings or settings since all the dB to use it only a listener.  Also if the listener does not have any new connection for all the dB to use it on the server.

    What is the best practice?

    The best practice is what works best for you in your particular environment

    Personally I have found don't have much need to adjust the configuration of the listener for each separate instance so in my environment of each server has 1 single earphone that is shared by several bodies. I can see your points about the benefits of having separated from listeners, but also additional administration required for the best answer is the one that is right for you. Some of the servers I maintain may have up to 20 instances (development) so having 20 listeners is probably a little more work I want keep.

  • Set DB to listen only NIC1

    Server oracle linux 6.6

    Oracle Enterprise 12 c

    NIC 2

    NIC1 IP: 192.168.100.10

    NIC2 IP: 192.168.100.11


    I can connect the TCP with the two IP, b 1521 UT, I want it listens only on NIC1, so I can devote the NIC2 to other services installed on the same server,

    Is possible?


    What IP address applications use to communicate with the server of db? If applications use only of 192.168.100.10, then only NIC1 is used. True... the listener could accept connections of NIC2, but if no one is using this IP for db connections, traffic will go through the correct NIC.

    In addition, consider using different subnets for the two NIC if you want to separate traffic, put them on the same subnet are illogical.

    Finally, configure the listener.ora to more precisely indicate the IP address.

    nom_recepteur =

    (DESCRIPTION =

    ((ADDRESS = (PROTOCOL = tcp)(HOST=192.168.100.10) (PORT = 1521)))

    See you soon,.
    Brian

  • ANALYZE the Configuring the listener

    Hello

    Im trying to create the emca for my rac db repository but his failling with this error... Invalid username/password or the data/analysis not high listener or database service is not registered with listener to scan.


    EMCA - config dbcontrol db-rest create - cluster

    EMCA STARTED may 3, 2010 12:44:27
    Configuration MS Assistant, Production of the Version 11.2.0.0.2
    Copyright (c) 2003, 2005, Oracle. All rights reserved.

    Enter the following information:
    Unique name of database: test
    Service name: test.domain.com
    Listener port number: 1529
    Listener ORACLE_HOME [/ u01/app/grid01]:
    User SYS password:
    User DBSNMP password:
    SYSMAN user password:
    Name of the cluster: test-cluster
    E-mail address for notifications (optional):
    Server of Mail (SMTP) out for notifications (optional):
    ASM ORACLE_HOME [/ u01/app/grid01]:
    ASM port [1529]:
    ASM username [ASMSNMP]:
    ASM user password:
    Invalid username/password or the data/analysis not high listener or database service is not registered with listener to scan.

    status of the listener:


    ------------------------
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Beginning of May 3, 2010 12:22:32
    Uptime 0 days 1 hour 35 min 17 s
    Draw level off
    Security ON: OS Local Authentication
    SNMP OFF
    Parameter Listener of the /u01/app/grid01/network/admin/listener.ora file
    The listener log file /U01/app/grid01/diag/tnslsnr/Node1/listener/alert/log.XML
    Summary of endpoints listening...
    (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = LISTENER)))
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp (PORT = 1527))(HOST=127.0.0.1)))
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp (PORT = 1529))(HOST=132.17.186.21)))
    Summary of services...
    Service '+ ASM' a 1 instance (s).
    Instance '+ ASM1' READY State, has 1 operation for this service...
    Service 'test' has 1 instance (s).
    Instance "testa", status UNKNOWN, has 1 operation for this service...
    Service 'PLSExtProc' has 1 instance (s).
    Instance of 'PLSExtProc', status UNKNOWN, has 1 operation for this service...
    The command completed successfully

    listener to Scan:

    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on May 3, 2010 13:59:29

    Copyright (c) 1991, 2009, Oracle. All rights reserved.

    Connection to (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = LISTENER_SCAN1)))
    STATUS of the LISTENER
    ------------------------
    Alias listener_scan1
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Beginning of May 3, 2010 12:20:48
    Uptime 0 days 1 hour 38 min 41 s
    Draw level off
    Security ON: OS Local Authentication
    SNMP OFF
    Parameter Listener of the /u01/app/grid01/network/admin/listener.ora file
    The listener log file /U01/app/grid01/diag/tnslsnr/Node1/listener_scan1/alert/log.XML
    Summary of endpoints listening...
    (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = LISTENER_SCAN1)))
    (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp (PORT = 1529))(HOST=132.17.186.29)))
    Summary of services...
    Service 'test.domain.com' has 1 instance (s).
    Instance "testa", State LOAN, has 1 operation for this service...
    Service 'testXDB.domain.com' has 1 instance (s).
    Instance "testa", State LOAN, has 1 operation for this service...
    The command completed successfully


    I can connect to the db through scan (only using the testxdb.domain.com and not the test.domain.com).

    sqlplus sys / as sysdba pass@test-cluster-scan:1529/testxdb.domain.com (this works)

    but this one fails

    sqlplus sys / as sysdba pass@test-cluster-scan:1529/test.domain.com (this works)


    SQL * more: Production version 11.2.0.1.0 on Mon May 3 14:03:51 2010

    Copyright (c) 1982, 2009, Oracle. All rights reserved.

    ERROR:
    ORA-12516: TNS:listener could not find Manager available with the corresponding protocol
    battery


    Enter the user name:

    Please read:

    question of access scan 11 GR 2

    Where to configure the SCAN address?

    Concerning
    Rajesh

  • How to listen to music offline in the iphone?

    How to listen to music offline in the iphone?

    This article will help you to Add music to the music catalog to Apple to your library on your iPhone, iPod touch, Mac, or PC - Apple Support

  • HP 15-f003dx: robotic sound on laptop while listening to music and browsing the Internet

    Hello

    I have a HP 15-f003dx and I have problems with the audio driver. Whenever I watch videos or listen to music while browsing the Internet, everything looks like a robot, and it's really bad. I already reinstalled the driver, updated the BIOS and tried the system restore and reformatted. Nothing else has worked.

    Here are my specs below:

    10 64-Bit Windows Home

    Processor: AMD A6 - 5200 APU with Radeon HD graphics card

    8 GB RAM

    Audio: Realtek High Definition Audio

    I'm running out of options. All the solutions to the current problem would be great, thanks.

    Hi @REL1983,

    Thank you for the update.

    I'm glad that the store has been able to solve the problem for you.

    Execution of the troubleshooter is a step I have provided, if you agree that it is your problem, you would be useful to the community by choosing accepted the solution to enable other posters locate information with greater ease.

    Thanks in advance.

  • Sometime this week, my MacBook Pro has lost its sound. I can't listen to anything that has the sound of iTunes for video clips. It is no longer a Volume icon (speaker w / lines of radiation) on my Menu bar

    Sometime this week, my MacBook Pro has lost its sound. I can't listen to anything that has the sound of iTunes for video clips. It is no longer a Volume icon (speaker w / lines of radiation) on my Menu bar. My MacBook Pro is a mid-2012, 2.3 GHz Intel Core i7 Memory 16 GB 1600 MHz DDR3 OS X Version Yosemite 10.10.5

    Graphics Intel HD 4000. Can anyone help?

    Thank you very much!

    Thai-Anh

    Reset NVRAM may solve it.

    How to reset the NVRAM on your Mac - Apple Support

    Or system preferences > sound, check on 'Volume to see the menu bar' to show the volume of the sound in the menu bar.

  • Is there a way I can trigger my characters triggers in the world? I want to listen to with him in the obs and be able to do while ingame triggers

    Is there a way I can trigger my characters triggers in the world? I want to listen to with him in the obs and be able to do while ingame triggers

    Thus, control triggers in CH all streaming a game via OBS (like having your character in the corner and your fullscreen game)? To control triggers CH I believe that enforcement must be active, so I couldn't choose another app/game on PC and press keys to trigger (if I CH running and switch to Photoshop, for example, keyboard triggers will not currently work). But I have not personally tried something like this yet - there must be some sort of solution (2 computers?). I know that we're working on more ways to feed and export your character alive in future versions, so ideally this workflow can be easier on the road.

  • I'm trying to convert a PDF to word, but keep getting a message reader saying only has the ability to access this service

    I'm trying to convert a PDF to word document, but get a message that says reader doesn't have the ability to access this service.

    I have done this many times before, but seems only the last days he began to happen...

    Sue

    Hi suee63752152,

    Make sure that you have the latest Adobe Acrobat Reader DC (Adobe Acrobat Reader DC install for all versions) installed on your computer to use the services to create a PDF file as the old version of Reader support any more.

    Alternatively, you can use services online at https://cloud.acrobat.com/convertpdf

    Let me know if you are still having a problem.

    Kind regards

    Nicos

Maybe you are looking for

  • How do I change folder and File Permissions?

    I try to delete a folder on my computer and I get a message saying that I need permission to do so.Why is this and how can I change it?

  • Need help with the update of Windows (OS-Windows 7)

    Hello world Recently, I met a problem with Windows update on my laptop (OS-Windows 7). Everything is fine with it, but when I try to install updates (recommended or optional) window says that it downloads the updates, but the progress remains to 0KB

  • HP envy 120: 120 cartridges envy. 300 HP or 60 HP?

    Dear support, A few months ago, I bought a new HP Envy 120 all-in-one printer, and I'm happy with it. Now the ink cartridges are completely outside while I'm about to buy a replacement. I don't really know what is the correct code. In other words: if

  • What are the issues and how can I put the documents in the files?

    As usual; Oracle is absolutely horrible in providing any kind of basic instructions on the use of the products.I need to upload files to a structure (don't care if it's collections, folders, or in mason jars as long as it works) and be able version t

  • I messed up from the original picture files two disks to a single disc.

    .HelloInitially the hierarchy wasDisc 1 MasterLib/year/month/dayPlayer 2 ClientLib/year/month/dayNew player hierarchy isDisk MasterLib/year/month/dayI first thought that just the reconnection of a single image and reconnect all the neighbors, should