Issue of JMS request/response model

Hi all

I'm a JMS request/response using q temporary queue model, as I understand it.

I want to know is if it is possible to use a single queue of the application and the response without 2 subscribers on the queue of diversion of each and other messages.

For example:
-client A sends a message to the queue of Q.requestReply with text ("query")
B reads the message off the coast of the Q.requestReply queue
B captures MessageId
B sets the CorrelationId MessageId = replyMessage
B sends replyMessage to queue Q.requestReply with the text ("the answer")
-A reads the response message and prints them out 'the response '.

Is this possible without B pick up the message that he has responded to A?
I'm trying this through java, and if A is down, B continue to read the message you post in response to A q.

Hope it makes sense
Concerning
Ruan

without filters, any Subscriber could get any message. with filters, you can choose who receives this message. I don't know what is your exact usage scenario, but since your original post, I think maybe you have a pool of workers who listen on a queue, remove a message, do the work, then the response on the same queue. you could implement this scenario by using a property of message custom as "isReply".

-all 'workers' listen queue with a filter "isReply is false.
-client A makes a request in the queue, then listen to the queue with the filter "correlationId = & isReply == true.
-When a worker receives a request, it does the job, then hands the answer on the queue, by setting isReply to true and the correlationId for the messageId property request

Tags: Java

Similar Questions

  • Get 'error 5' try to (re) install Lightroom 5 - I noticed that this issue will receive no response from others who have already contacted Adobe (is there no solution?) - Windows 7

    Get 'error 5' try to (re) install Lightroom 5 - I noticed that this issue will receive no response from others who have already contacted Adobe (is there no solution?) - Windows 7

    The first: try the solution here: setting up error 5

    The second: when your license is not active for this installation. Make sure that you are connected to the account where you have your active subscription. Log out and return to: https://helpx.adobe.com/creative-cloud/help/sign-in-out-activate-apps.html

    In any case, I would try to get rid of the first message in the first place.

  • is it possible to use the ROWNUM in the request/response

    Hi, is it possible to use the ROWNUM in the request / response.

    for example, in the "Advanced SQL filter '. Thank you!

    Hello

    Using RCOUNT (1) and try...

  • System freezes and issues of the 7335 40L model

    Hello

    10 months ago I have the model L 40, 7335 there are 3 firmware updates, but the system continues to be frozen (can not change channel, HDMI ARC unknown blocked menus) several times a week.
    To unblock the situation, I have to unplug the power cord, then the TV system raise and work properly.

    I tried to disable the features that I do not serve me without success.

    You do not see any improvement as a result of updates to firmware, I'd like to know if there are concrete solutions, or if the guarantee can be used to request a repair or replacement?

    You can at any time you want to contact the nearest service Toshiba or your local dealer and ask for help.
    By the way: have you tried to set your TV to the factory settings?

  • MODBUS RTU multiple request & response (OR VISA)

    Hello

    I would like to ask how many request and response on MODBUS RTU using VISA? I tried 2 camera digital surveillance, I did a Labview program to connect this device alternately using stacked sequence Structure, but it can communicate with 1 device and the answer, I think that there is an error, the number of bytes does not match what I ask (0 A 04 0000 0002 B 70-0)

    It's my screenshot

    any suggestion? or maybe use other way to many request and response use NI VISA?

    Thank you ~.

    It was pretty hard to see this video.

    Of course, as part of the 2nd, lower comparison was coming to True, which means the false cases where things was spent could not run.  (Seems like the reverse logic to me.)

    Well, you check the first two bytes to see if they were not equal to 010 a.  They were good because it is the response to the command you send who left 010 a.

    In the first picture, it worked because you send the command from 0A 04 and compare to see that's not equal to 0404, which of course is not.  What is the point of this?  It makes sense to mixed.  You want to confirm it is the correct slave address and the correct command (so that they would be equal) to run the code of decoding.

    The other comparison is also useless because you try to check if the first two bytes are equal to 0 a, (any image you're in) which they will never because a string of bytes 2 can never be equal to a 1 byte string.

    Through execution of high point, you should have been able to understand what was or wasn't running and why.

    In addition, you only need a VISA close because you open just a resource of VISA.

    Really, you'd be better off using the Modbus Library.

    This is a much cleaner version of your code using the Modbus Library.

  • The content Server could not process the request == > on model click URL Href

    Hi Experts,

    I created the Article active template and get the url for the same using the tag

    ====================================================================

    < render: gettemplateurl outstr = "articleTemplateURL" c = "CompetencyArticles" cid =' < % = ics. GetVar ("competencyidop") % > ' tNom = "DetailArticle" ttype = "CSElement" >

    < / render: gettemplateurl >

    ====================================================================

    However when I click on href I get ""Content Server could not process the request "error... "

    (1) there is nothing specific to this error in the server logs.

    (2) in the access logs I get == > GET/cs/Satellite? c = CompetencyArticles & cid = 1425306988875 & pagename = skills % 2FCompetencyArticles % 2FDetailArticle HTTP/1.1 "403 44

    Help appreciated.

    D1.png

    Kind regards

    GP

    Can you switch model usage to disposal and try again?

    Phil

  • Issue of JMS WebLogic Automigration

    Hello

    Let me first tell you about my server information. Currently, we use weblogic 10.3.3.0. We have 1 admin server and manage the 2 Server (MS_1 and MS_2).

    Currently, we are implementing the automatic migration of JMS on our server. To do this, we follow the steps below:

    1. first cluster must be configured for automatic server migration:

    Home-> Cluster-> configuration-> Migration-> Lock and Edit-> choose migratable machine for migration of automatic server-> Data Source for automatic Migration (choose data store for the migration of the automatic server)-> click Save

    2. environment-> Migratable target-> click on the migratable target-> click Migration-> select-> forced candidate servers Select the migration service policy as 'Automatic failure recovery Services Migrate'-> register and activate changes

    3. need to create a table called ACTIVE in the comic book and the ddl script is located under($WL_SERVER/wl_server_10.3/server/db/oracle/920) query name:leasing.ddl

    4. create a no XA data source (while selecting the pilot, you must select the driver no XA) and under the operation, the data source tab uncheck overall transaction. Also the data source should point to the cluster.

    5. the data source created in step 4 must be used in the JDBC persistence store and can also serve as a source of data of Cluster. The JDBC persistence store should be used in the JMS server and the JMS server should be used in the JMS queue.

    After that, I deploy my Java application to read from the distributed queue JMS. and the Java service is the reading of the JMS queue.

    But when I am restarting the server to manage the below error is thrown and the deployed java application state is making failure:

    ========================

    < 29 April 2015 02:42:15 IST > < WARNING > < HTTP > < BEA-101162 > < org.springframework.web.context.ContextLoaderListener listener has not defined by user: org.springframework.beans.factory.BeanCreationException: error creating bean with name 'jmsResQueueUG' defined in ServletContext resource [/WEB-INF/spring-jms-config.xml]: calling the init method failed; nested exception is javax.naming.NameNotFoundException: unable to resolve 'MTNNDQ '. Solved "; another name 'MTNNDQ '.

    org.springframework.beans.factory.BeanCreationException: error creating bean with name 'jmsResQueueUG' defined in ServletContext resource [/WEB-INF/spring-jms-config.xml]: calling the init method failed; nested exception is javax.naming.NameNotFoundException: unable to resolve 'MTNNDQ '. Solved "; another name 'MTNNDQ '.

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1113)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:431)

    to org.springframework.beans.factory.support.AbstractBeanFactory$ 1.getObject(AbstractBeanFactory.java:254)

    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:144)

    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:251)

    Truncated. check the log file full stacktrace

    Caused by: javax.naming.NameNotFoundException: unable to resolve 'MTNNDQ '. Solved "; another name 'MTNNDQ '.

    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)

    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)

    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)

    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)

    at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)

    Truncated. check the log file full stacktrace

    >

    < 29 April 2015 02:42:16 IST > < error > < hats > < BEA-149265 > < error has occurred in the execution of the request of deployment with the ID ' 1430255500850 'to task 27'. Error: ' weblogic.application.ModuleException: '

    weblogic.application.ModuleException:

    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1514)

    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)

    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)

    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:425)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)

    Truncated. check the log file full stacktrace

    Caused by: javax.naming.NameNotFoundException: unable to resolve 'MTNNDQ '. Solved "; another name 'MTNNDQ '.

    at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)

    at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:252)

    at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)

    at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)

    at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)

    Truncated. check the log file full stacktrace

    >

    ====================================================

    "MTNNDQ" is the name of the queue that is configured in the properties file. Where the bed spring-jms - config.xml.

    "jmsResQueueUG" is the name of Spring bean.

    Please note that during the server starts deployment the above question is coming, but after the successful restart when I deploy him point above does not.


    Please suggest.


    Thanks in advance.


    Concerning

    Yoan Kar

    Hello

    This problem is solved now. By changing the url of the server to management server to manage the url of the server and changing the connection factory developed to manage the server as below the problem is resolved.

    JMS_FACTORY_TT = t3: / / osb1:7003, osb1:6005 / MTNNJMSCF

    Concerning

    Barnes

  • Download CS6 Master Collection using request / response code - is legitimate?

    I bought a copy of Adobe CS6 Master Collection download and wonder now if it is legitimate. It's instructions go like that.

    1. Download from mediafire.com, what is called "Adobe CS6 license PREACTIVATION.rar"
    2. Unzip and run "Adobe CS6 license PREACTIVATION.exe"
    3. Connect on Adobe.com and sign in with the user [email protected] ID and password included in the purchase
    4. Go to the product download CS6
    5. Download the two files for CS6
    6. Run the smaller of the two files to the collection facility
    7. When asked for a serial number enter "1325-xxxx-xxxx-xxxx-xxxx-3266" (of course the s 'x' were the numbers)
    8. A dialog box appears during installation with a links saying "click later and install CS6. Select it
    9. Complete the installation
    10. Start Photoshop
    11. A dialog box saying "Having problems connecting to the Internet" appears. Click the 'Generate the Code request' activation offline
    12. Take the generated application code and send it to an address of mail in Turkey.
    13. The address of e-mail in Turkey will respond with the response code that I could then get into Photoshop

    This is not legitimate or have I been scammed?

    I asked the Turkish user a few questions.

    1. Can it be installed on two computers which I think is common for such Adobe products? Answer: No.
    2. Assuming that the answer was Yes, should I use this method of response for each installation code? Answer: Yes
    3. Can CS6 be moved to a new computer in the future? Answer: Should use the method of response code
    4. After activation successful using the response code, Belarc Advisor scored a different serial number. Can I use this number and work around the stuff of response code? Answer: No.

    Thank you, Brian

    Nothing of what you describe seems legitimate to me... but I'm just another user like you (although I buy Adobe's Adobe products).

  • Delay request response routing rules

    Hello
    I am uttering a service that can be called by any number of applications of the applicant.

    I build it as an EBS by using the deferred query response MEP.

    I'm currently building the response message routing rule.

    In the 11.1.1.5 dev guide, Section 10.8.2.3 tells me to create routing rules as follows:

    & lt; Quote >
    In the service, this information is transferred from demand EBM to the EBM response. This information is used in the EBS response by placing a routing rule in the filter as:

    < name of EBO > ResponseEBM\corecom:EBMHeader\Sender\
    WSAddress / wsa: ReplyTo / wsa:ServiceName = < asking the name of Service >
    Target endpoint for the assessment of this rule should be set to the requesting service.

    For each service applicant of EBS to request that is waiting for a response EBS to send back a response, specify a rule of routing as shown above.
    & lt; / Quote >

    It tells me to hard code the name of the service to the requesting service. I don't know this at design time. I don't have a list of services that will call my EBS.

    I want to use the replyTo address that is sent in the EBM query, transfer in the EBM response and make the EBS to send the message to the message what ever is sent there.

    Does anyone have instructions on how to do it?

    So far what I have is:
    ABCS applicant fills < EBMHeader > < Sender > < WSAddress > < ReplyTo > < address > with the uri for the call return
    Calls to ABC EBS as usual
    EBS called ABC software packages as usual
    ABCS copy sender > < WSAddress > < ReplyTo > < address > < EBMHeader > < in the EBM to < EBMHeader > < target > < EndPointURI > query
    ABCS call EBS answer
    Response of EBS has a second mediator who a is connected to a false reference:
    < reference name = "ProcessTransactionRequestEbizProvABCSImpl_002".
    UI:wsdlLocation="oramds:/apps/AIAMetaData/AIAComponents/EnterpriseBusinessServiceLibrary/core/sys/IC/TransactionRequest/v1/TransactionRequestEBS.wsdl" >
    < interface.wsdl interface = "http://ic.ac.uk/AIAMetaData/AIAComponents/EnterpriseBusinessServiceLibrary/Core/SYS/IC/TransactionRequest/V1/TransactionRequestEBS#wsdl.interface (TransactionRequestEBSResponse)" / >
    < binding.ws
    port = "" "
    Location="oramds:/apps/AIAMetaData/AIAComponents/EnterpriseBusinessServiceLibrary/core/sys/IC/TransactionRequest/v1/TransactionRequestEBS.wsdl".
    / >
    Ombudsman as a result of the EBS sets the property value endpointuri < EBMHeader > < target > < EndPointURI >

    It will not work for me because I am currently getting an error.
    Does anyone know how this should be done?

    Thank you
    Robert

    What I suggested was to use ASYNC two-way MEP. Ombudsman and BPEL support this.

  • How can I request a model of design to an existing project, and...?

    I made some customizations to one of the design templates and saved these changes.  I want to have these changes applied to existing projects or new, how do I do it?  Also when you make customizations to the design model, I seem to be able only to make some changes.  For example: the first point is a TEB - I am able to change the legend of success and failure boxes but only with regard to style, I can't seem to change the text.  It reads 'Success Type text here.'  I want to always read "Correct!"  so, how can I implement this without having to change the text for each item in the project?

    Thanks for your time!

    Tami

    Hello

    btjra wrote:

    I made some customizations to one of the design templates and saved these changes.  I want to have these changes applied to existing projects or new, how do I do it?

    After you create your design template, you apply when opening a project that you want to apply the template to. Then, you click the window menu and choose the design template.

    This opens the design template Panel. From there, you choose a template to apply to your project.

    btjra wrote:

    Also when you make customizations to the design model, I seem to be able only to make some changes.  For example: the first point is a TEB - I am able to change the legend of success and failure boxes but only with regard to style, I can't seem to change the text.

    Indeed, you can request only the Visual characteristics. The text is influenced by the object later in the draft edition.

    btjra wrote:

    I want to always read "Correct!"  so, how can I implement this without having to change the text for each item in the project?

    Thanks for your time!

    Tami

    I don't think that you will be able to influence it. Not with a design template. What you can do is to create a pre-configured model project with the legends. Then you could copy and paste as needed to accomplish it.

    You add your voice to others who wish to see greater flexibility with default settings such as what you're asking. To do this via the Wish form.

    See you soon... Rick

    Useful and practical links

    Captivate wish form/Bug report form

    Certified Adobe Captivate training

    SorcerStone blog

    Captivate eBooks

  • Using request/response patterns to the WLI process

    I'm building a wli process and I have a schema that describes the request and response burden that I want to use. When I select the schema items to use in the request of the customer and the customer return nodes should I choose a complex type or an element in the schema?

    I can define my payloads as complextypes in the schema and use it directly or I can create complextypes elements to represent the complextypes, then select the items in the schema instead of the complextypes. Is this really a design problem or is there another reason for this somehow?


    Which one to choose for my applications node? (payloadRequestObject or payloadGlobalElement) Why?

    Example:

    < xsd: complexType name = "payloadRequestObject" >
    < xsd: SEQUENCE >
    < xsd: element name = "payloadelement" type = "string" minOccurs = "1" maxOccurs = "1" > < / xsd: element >
    < / xsd: SEQUENCE >
    < / xsd: complexType >

    < element name = "payloadGlobalElement" type = "tns:payloadRequestObject" > < / item >

    There's a reason why the elements are marked with green icons and types are marked with grey icons when choosing what you have to go in and out process WLI. Unfortunately, I can't find the reason documented anywhere :-). To answer your question, I've always had success with elements, and I have never had success with guys, so use items. I hope this helps.

  • Issue of JMS Dequeue - OSB

    Hello

    We have created a JMS queue in WLS 10.3.0 and OSB (10.3.1) uses the proxy service - JMS transport to dequeue messages.

    Queue JMS WLS-> Proxy-> Business Service (JCA Db adapter) OSB to insert data in a table

    IF error in db-> error to invoke OSB and write to a file manager

    Case - success
    --------------------

    The messages are deleted from the queue

    Case - failure
    -----------------

    The messages are not deleted from the queue. Error handler is invoked in OSB and messages are written to a file.


    This creates a problem since the attempts of the OSB and the number of files is created. We tried to fix the settings of retry in OSB, to no avail.

    Please make a contribution, it is a little bit of urgency.

    Kind regards
    AP

    Published by: ARPL on October 15, 2009 03:41

    If I understand correctly your problem right, you want to deal with errors on your own and you don't want OSB to try again for messages that have been processed with the error? Ok?

    Your JMS proxy is transactional. When it detects errors, JMS transaction is restored, your message remains in the JMS queue and will be dealt with later again. If you want to avoid a repeated treatment of the same message, then simply adjust your proxy error handler. You can do this by using the resume action or a response at the end of your error handler. This will ensure that messages are processed successfully and the transaction will commit.

    http://download.Oracle.com/docs/CD/E13159_01/OSB/docs10gr3/Userguide/modelingmessageflow.html#wp1065361

  • 'Edit' link for request response

    Hello

    I have a dashboard page to know Dashboard1 that contains a response asking namely Report1. This report 1 to the value stand to another request for response namely Report2. This Report2 is not placed in any dashboard page.

    How to make the link 'Edit' to be published in Report2 when I navigate Report1 in the Dashboard1 without having to show the link 'Edit' for Report1 in Dashboard1?

    So far, I don't see the link 'Edit' Report2 if I indicate the link 'Edit' for Report1 to the Dashboard1. Any ideas how to do that? Thank you very much.

    Hello

    an approach more... is...
    You must keep the target report in another page of dashboard. say (page 2)
    Here, in the properties of the report, mention the report links-> change
    Save, and... now in Report1, need to mention the report target value interacting...
    example dashboard page 2...
    Note: Mention the address to the Page not only to report... While mentioning the target report in the dashboard...

    Here's what we can do...

    If you want you can hide the page (page 2) that won't be visible for all users...
    So that you're problem will be solved...

    If you want to know how do to hide the page... feel free to ask me questions... ;) but start new thread...

    Thank you & best regards
    Kishore Guggilla

  • Issues Mac OS 'request for help.

    Hello

    Is it possible to change the native Mac OS 'help request' from a modal window from a normal application that support the ALT - TAB?

    Is there a way to change the font size?

    Thank you

    I don't believe it.

  • The 11g R2 RAC installation issue: ORA-00304: requested INSTANCE_NUMBER is busy

    Hi guys...


    There are 4 servers, 2 are next to primary and remaining 2 servers are on the primary side. With the installation of RAC 2 nodes using ASM.
    Here are the names
    LOC1DB1

    LOC1DB2

    LOC2DB1

    LOC2DB2

    After the installation of grid and the database, I made the following changes:

    • State of the cluster enabled using the command
      • crsctl State resource t //and the exit is 'open' for both the database.
    • Switch to the oracle user
    • Connect to sql
      • sqlplus sys / [email protected]:1521 / xxx as sysdba //starts successfully with this message "with the Real Application Clusters and automatic storage management options:
      • immediate stop
    • Connect to sql
      • sqlplus / as sysdba //connected successfully with the message "sqlplus / as sysdba.
      • startup

    He invites an error 'ORA-29760: instance_number parameter not specified not'.»» So I added a line "instance_number = 3"to the file 'initORCL.ora' in a new fast error on LOC1DB2 and LOC2DB2 servers but all servers after I could so that it starts properly on LOC1DB1 and LOC2DB1 it is to say"ORA-00304: requested INSTANCE_NUMBER is busy'." " so please help what to do now. I changed the instance number several times but his does not work.

    > So I added a line "instance_number = 3"to the file 'initORCL.ora' in a new fast error on LOC1DB2 and LOC2DB2 servers but all servers after I could so that it starts properly on LOC1DB1 and LOC2DB1 it is to say"ORA-00304: requested INSTANCE_NUMBER is busy'." " s

    Your database has a name, lets call him ORCL. Oracle RAC, each instance will have a different name that is the concatenated with the INSTANCE_NUMBER DB_NAME. If node 1 will be instance ORCL1 and node 2 will ORCL2 instance. Your instance in the settings file number must also be set for each instance. If the parameters could look like:

    orcl1.instance_number = 1

    orcl1.instance_number = 2

    What you were doing was this:

    * .instance_number = 3

    Who tries to assign the number 3 of the instance to all instances. This is incorrect, as you discovered. First start with this number very well. The second instance tries first number but the number of the instance is already used, where the error ORA-304.

    In addition, you should not use the initORCL.ora. In fact, in 11.2, you use a SPFILE shared for Oracle RAC. A settings file to be used by all instances of the database.

    > sqlplus / as sysdba //connected successfully with the message "sqlplus / as sysdba.

    > start

    You do not use SQL * Plus to start/stop a database Oracle RAC. You use the srvctl utility.

    srvctl start database-d db_name

    srvctl stop database db_name immediate o d

    See you soon,.
    Brian

Maybe you are looking for

  • Can I remove battery when Tecra M-Series connects to the AC?

    Should I remove the battery when it is connected to an electrical outlet? What is the best practice? Thank you!

  • Windows XP SP1 or SP2

    I re-formated my PC and reinstalled Windows XP of origin. A sine qua non for Svce Pack 3 is SP1 or SP2.  SP1 downloads, but during the installation, meets a non-server response MS. SP2 download, but cannot be installed because it is a corrupted file.

  • Vista/windows 7

    My old computer which runs vista had to be rebuilt recently, and because I didn't have a drive of MSOffice free version of 'office' was put on.  Can I have access to MSOffice once again, as I had paid for a download earlier (no disc)? Laughing withou

  • Cannot access AVG Antivirus

    Original title: program compatibility Application Applications Apps game games Legacy Crash accidents Application Hang hangs I'm running on Windows 7 and I have AVG Anti-Virus installed two years ago. Currently, I'm unable to access the program becau

  • A license of an image, got another (or I don't?)

    I found a vector image of the trees I wanted to give up, #103981799:Now open "AdobeStock_103981799.ai" in Illustrator:It's... not good at all. We will open the same file in the designer of affinity:What the hell is happening here?It seems that the PD