Getting destination queue name

Hi!
I was wondering if it is possible somehow to retrieve queue destination name (the queue name the message will be sent to) in a JCD?
So far I have been able to retrieve only the queue name the message is coming from:
String sFromQueue = input.getMessageProperties().getDestination();JMSOut client otd is only returning "null" when using code: JMSOut.getDestination()

hi jan,
1) 1:n queues when it comes to "Queue" ... in ICAN and earlier versions it was possible to connect multiple queues on an outbound connection. the JMS adapter handeled the sending to multiple queues. BUT generally you are right it should be a 1:1 relationship.
2) JMS Client generally points to ONE server with a default queue that is sent to when doind send(msg) BUT you also can override the destination queue by an api call like sendTo("someotherqueuename") therefore it is not that easy ....
3) i think this ("API that allows retrieving object names") could be burried deep inside the APis but i would not recommend using it since this will not be stable and consistent over major releases! and you could risk a very hard porting from e.g. CAPS 6 to CAPS 7?
why do you exactly need this information?
regards chris
Edited by: cbrennsteiner on Nov 11, 2008 10:45 AM

Similar Messages

  • How to get back Queue name in SMQ1 when Data source is present in RSA7

    Hello Friends,
      Its very urgent issue.Please provide me your valuable solutions.
    1) I have Queue name in SMQ1 and Data source name in RSA7 are present for particular Data source in CRM source system. I deleted Queues in SMQ1 and they present in RSA7 so whenever I do changes in Data source record that changes i can see in RSA3 and DB table but I can't able to see that changes in RSA7.
    2) That Data source is Delta enabled and Initialization also set for that.
    3) when i do delta scheduling no records are coming in BI side.
    Please tell me how can i get back my Queue in SMQ1 and get changes reflects in RSA7 data source also.

    Try below:
    http://sharepoint247.wordpress.com/2013/05/24/handy-email-utility-for-any-sharepoint-project/
    interface IEmailConfigurationManager
    /// <summary>
    /// Gets Email Template by it's ID
    /// </summary>
    /// <param name="emailTemplateId"></param>
    /// <returns></returns>
    EmailTemplate GetEmailTemplate(string emailTemplateId);
    /// <summary>
    /// Gets Email Template by it's ID by updating the email template properties
    /// </summary>
    /// <param name="emailTemplateId"></param>
    /// <param name="subjectProperties"></param>
    /// <param name="bodyProperties"></param>
    /// <returns></returns>
    EmailTemplate GetEmailTemplate(string emailTemplateId,
    IDictionary<string, string> subjectProperties,
    IDictionary<string, string> bodyProperties);
    /// <summary>
    /// Add new email template.
    /// </summary>
    /// <param name="emailTemplateId"></param>
    /// <param name="emailTemplateSubject"></param>
    /// <param name="emailTemplateBody"></param>
    void AddEmailTemplate(string emailTemplateId, string shortDescription,
    string emailTemplateSubject, string emailTemplateBody);
    https://spemailutility.codeplex.com/
    http://social.msdn.microsoft.com/Forums/en-US/ef945d33-50c5-4b89-8bb9-32a95498b419/how-to-change-email-template-for-the-approval-workflow?forum=sharepointcustomizationlegacy

  • Queue Name Configuration

    Hi Team,
    Scenario: A custom Bdoc is created for replication of Business transaction from CRM to R3 (only 1 way). This is working fine.
    But when we check transaction SMW01 ( or Bdoc header tables), there is no queue name created.
    If we take a similar scenario of a Sales Order replication to R3 ( Bdoc Type: BUS_TRANS_MSG), we can see the queue name as CSA_ORDER_0100090001, CSA_ORDER_0100090002 etc ( the last part being the Order number).
    We made entry in table SMOFQFIND, but it did not give any result. Any idea how to get the queue name for the Custom Bodcs?
    Any help will be appreciated.
    Many Thanks,
    AMit

    Hi Amit,
    Reffer to my reply in your post qRFC Queue Name Configuration
    Best regards,
    Vikash.

  • Getting jms queue jndi name via jmx

    Hi all,
    I'm writing a utility that will help us migrate jms messages to new servers, stores, etc. I would like to connect to a server and programmatically discover the jndi names of all the queues and topics on that server. I know how to get all the destination mbeans via jmx, but I don't see a way to get the jndi names for them. They have a Name attr, but it's not the jndi name. Is this possible with WLS 9.2?
    thanks

    I believe the attribute on the Destination Bean would be JNDIName, but I would use WLST to browse the information available via JMX. I.e.
    1) connect to the domain
    2) cd into the approriate jms system resource. Then perform ls() and cd() until you find the right information.
    3) Then use print cmo - this will give you the JMX object name. ls() will show you the attribute name.
    4) So you can either look up the MBeans directly using JMX or walk down the domain hierarchy

  • Why do the queue names appear to include jms-module name  (+!) ?

    We upgraded our domain from weblogic 8.1 to 10.3.2.
    To get the clustered environment to work, I had to delete the jms-module and recreate (including the FileStore, the Jms-server...).
    After doing all this, When examining the Jms-server Active Destinations,
    (In Settings - Monitoring - Active Destination)
    I see the queue names such as:
    jms-moduleName!queueName
    I can't help but think this is related to this error message in the logs;
    No servers found having jms destination queueName.
    In our single server environment. I did not have to delete and recreate the autogenerated Jms-module and in Active Destinations, the Name shows up as I would expect. In this environment, I do not have the same error as above.
    Is there anyway to stop the prefix, 'jms-moduleName!" from being added to the queue name in Active Destinations?
    How and why is this being added?
    Any comments would be greatly appreciated. THANKS.

    Hi,
    Almost all applications use a destination's JNDI name to look it up (see the JNDI name field for each destination). The "jms-moduleName!queueName" syntax your referenced is generated based on the configured name of the destination, not the JNDI name.
    Some side advice since your setting up a new configuration:
    * If your using distributed destination, I advise taking the opportunity to change your configuration to use the simpler"uniform distributed destination" option. 8.1 and older supported only the older "weighted distributed destination" behavior which requires that each member destination be configured individually -- this is unwieldy, and will (hopefully) be deprecated soon.
    * See [ JMS Configuration Best Practices | http://download.oracle.com/docs/cd/E14571_01/web.1111/e13738/best_practice.htm#CACJCGHG ] and [ JMS Performance and Tuning Check List | http://download.oracle.com/docs/cd/E14571_01/web.1111/e13814/jmstuning.htm#PERFM294 ].
    * Always configure quotas and paging, and ensure they are tuned to prevent JVM out-of-memory (as per the JMS Perf and Tuning check list referenced above).
    Hope this helps,
    Tom
    Edited by: TomB on Jun 20, 2010 7:00 PM

  • Queue Name

    Hi
    XI gives random queue names, for EO and EOIO queues. When is the queue name generated ? Is it when the message enters the SMQ2 of the XI ? Logically it should get a name there. Would it change when it reaches the SMQ1 ? The outbound queue to the receiver adapter ? So if there can be two queue names then how would we identify the message in MONI and Adapter Engine ? I guess the queue name should be same in both MONI and Adapter Engine monitoring.  Can someone help me with this
    Thanks  in advance
    Radhika

    Hi Radhika,
    1. When is the queue name generated ?
    The queue name is generated in 2 occasions..
      a.When the message is going from Adapter Engine to Integration Server... The message is stored first in Messaging service after adapter engine and sent via queue to Integration server. That is outbound  queue.SMQ1.
    b. Similarly after processing.. Receiver determination,Interface determination.... The message has to be sent to the target. i.e. again a adapter engine.... the messages are stored first in inbound queue called SMQ2.
    2. Do we have to configure something so that the queue name will not change and both SMQ1 AND SMQ2 will have the same queue name ?
    Usually the admin will do this job. The queues are automatically assighned.
    Based on some algorithms the queue is decided.
    But.. u can configure the queues such a way that always the message of paticular interface should go to the same queue..
    i.e is nthng but called as Queue prioratization..
    I hope this will solve all ur doubts.
    If not pl do post
    Babu

  • Queue name description

    Hi experts,
                          I want to find out what is a description of any queue name. Like in LBWQ all queue names
    start with MCEXZZ last 2 values are digits like 02,04 or 13. Then how to find out whether the particular queue
    is related to 2LIS_13_VDITM or not? and what all transactions data get store in LBWQ?
    Regards,
    Priyanka Joshi

    Hi......
    Last two digits in MCEX* represents the Application component.............for 2LIS_13_VDITM  queue name will be MCEX13........
    LBWQ means Extraction Queue.............when we use the Update mode Queued Delta.........LBWQ comes in picture...........In this case the extraction data from the affected application is collected in an extraction queue and can be transferred to the delta queue, in a similar manner to the V3 update, with an update collection run. Depending on the application, up to 10,000 delta extractions of documents can be aggregated to an LUW in the delta queue per DataSource........
    I think u know V3 update........if not for ur reference......With this update mode, the extraction data of the application being viewed is written to the update tables with an V3 update module and is kept there until the data is read with an update collection run and processed. The data in the update collection run, however, is read from the update table without considering sequence and is transferred to the delta queue.
    U can check this..........
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg//1906
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg//1183
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg//1262
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg//1106
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg//1522
    Hope this helps...........
    Regards,
    Debjani........

  • Dynamic Queue names at JMS receiver

    HI All,
                I have a scenario where sender is an RFC and receiver is via JMS  and also get a reply back . JMS is asynchonous but as suggested in other threads it is possible to capture the response by setting some Adapter specific parameters.
                But my problem is the queue name for the response is not constant and it varies from request to request for the response. I have no clue how to achieve this , I tried searching some threads but couldn't come to a conclusion.
                Possibility of dynamic MQ queue selection in one receiver JMS channel
                help on Dynamic queue name in JMS Adapter
    Has anyone come across such a situation ? Please suggest.
    Also In one of threads it was suggested to use Java Proxy?  Please suggest a way forward in this approach too
    Regards,
    Mohan.

    > please refer the link what you provided in section 2.8 mentioned JMS Receiver communication channel will give response back,but i never tried.
    Yest because this document is applicabe for a scenario where request msg will come form sender JMS to XI and then Response will be sent back again to JMS by using receiver JMS adapter. So senario is JMS request --- R3 (via XI) --- R3 response to JMS.
    But here case is different. e.g. RFC --> PI --> JMS  and reply will get back from JMS  to RFC.  So definetly in this case response will come from sender JMS and not from receiver JMS.
    Read sec 2.8 throughly, you will come to know how to set the queue names dynamically for RECEIVER JMS Adapter.
    Regards,
    Sarvesh

  • Poll Interval, Msecs To wait before modification checks & Queue Name in CC

    Hi All,
    I have 3 inter-related interfaces which is having 3 File Sender Communication channels as below charasteristics;
    All 3 ccs are running on a common Queue Name inorder to cater the business scenario;
    so PI should consume the files in the same sequance of files are copping into the locations;
    (time gap between incoming files is around 1-3 secs)
    Existing Values in Production system
    IF086
    Poll Interval                                                                        1 secs
    Msecs To wait before modification checks                      10000
    Queue Name                                                                     XI_QUE1
    run sequance must be 1
    IF913
    Poll Interval                                                                        1 secs
    Msecs To wait before modification checks                      10000
    Queue Name                                                                     XI_QUE1
    run sequance must be 2
    IF084
    Poll Interval                                                                        1 secs
    Msecs To wait before modification checks                      10000
    Queue Name                                                                     XI_QUE1
    run sequance must be 3
    we are having PI Alert email configured in the system;
    when we get a big files into the locations, we get an unwanted Alert emails saying Error;
    when I check PI, Overall file transfer is successful,
    but we have the below error in the Message Display Audit log as
    "Channel CC_Cxxx: Attempt to send file 'T201_200909141702' failed because file was modified during processing. 0 bytes expected, 1202248 bytes found. Trying to resend file" 
    but Overall file transfer is successful;
    Does anyone can explain the reason for this error; ?
    Also to remove this error & unwanted Alert email (since final status is successfull), I changed the Poll Interval to 3 for all 3 above CCs; Now I dont get the above error;
    Do you think there might be a sequance issue due to this change;?
    (time gap between incoming files is around 1-3 secs)
    quite lengthy to explain sorry;
    Appreciate your help please
    thanks
    Iver

    Hello Iver
    Question 3 in the note #821267 FAQ: XI 3.0 / PI 7.0/ PI 7.1 File Adapter, explains what is happening here. This answers your first question.
    The file in question was being written to by another process when the file adapter attempted to send it. Depending on the length of time/amount of data that is being written to these files, increasing the polling interval to 3 seconds will help.
    Regards
    Mark

  • How to get the terminal name of http user?

    Hi Gurus,
    I use function TH_USER_LIST to get all online users. But for http users I can only get their IP address, but no terminal name.
    I searched the forum and tried the function RFC_IP_TO_HOST. However, when I input IP address it didn't return the terminal name.
    The http users are running BW queries in Internet Explorer. FYI.
    Any help is much appreciated!
    Regards,
    Frank

    Hello
    This code works:
      DATA: BEGIN OF SERVER_LIST OCCURS 0.
              INCLUDE STRUCTURE MSXXLIST.
      DATA: END OF SERVER_LIST.
      DATA: BEGIN OF USER_LIST OCCURS 0.
              INCLUDE STRUCTURE UINFO.
      DATA: END OF USER_LIST.
      DATA: BEGIN OF USER_LIST1 OCCURS 0.
              INCLUDE STRUCTURE UINFO.
      DATA: END OF USER_LIST1.
      DATA: USER_TERM LIKE RFCDISPLAY-RFCHOST.
      CALL FUNCTION 'TH_SERVER_LIST'
           TABLES
                LIST   = SERVER_LIST
           EXCEPTIONS
                OTHERS = 1.
      LOOP AT SERVER_LIST.
        CALL FUNCTION 'TH_USER_LIST'
             DESTINATION SERVER_LIST-NAME
             TABLES    LIST = USER_LIST1.
        APPEND LINES OF USER_LIST1 TO USER_LIST.
        REFRESH USER_LIST1.
      ENDLOOP.
      LOOP AT USER_LIST WHERE GUIVERSION IS INITIAL.
        IF NOT USER_LIST-TERM IS INITIAL.
          MOVE USER_LIST-TERM TO USER_TERM.
          CALL FUNCTION 'RFC_IP_TO_HOST'
               EXPORTING RFCIP = USER_TERM
               IMPORTING RFCHOST = USER_TERM.
          IF SY-SUBRC = 0.
            MOVE USER_TERM TO USER_LIST-TERM.
            MODIFY USER_LIST.
          ENDIF.
        ENDIF.
      ENDLOOP.

  • Change Queue name in Message mapping

    Hi
    We want to change the queue name dynamically in the message mapping.
    We refered the post
    Re: EOIO queue name change
    http://help.sap.com/saphelp_nw04/helpdata/en/6e/ff0bf75772457b863ef5d99bc92404/frameset.htm
    But as said in it, we are not able to access the parameter QUEUE_ID or QUALITY_OF_SERVICE.
    Other than these two parameters, we can access all parameters.
    Below is the code to access one of them.
    while compiling, the message mapping gives error as below.
    cannot find symbol
    symbol  : variable QUEUE_ID
    Any pointers.
    ///// CODE
    MappingTrace trace;
    String constant;
    java.util.Map map;
    trace = container.getTrace();
    // get constant map
    map = container.getTransformationParameters();
    constant = (String) map.get(
           StreamTransformationConstants.QUEUE_ID);
    trace.addInfo("QUEUE ID:" + constant);
    return constant;
    Regards
    Anandan

    Hi Anandan,
    As given in help you can only get queue Id if you have Quality of service as ExactlyOnceInOrder. So make sure you have selected that option.
    http://help.sap.com/saphelp_nw04/helpdata/en/6e/ff0bf75772457b863ef5d99bc92404/content.htm
    Regards,
    ---Satish

  • "Get destination" does not work in CNV_MBT_TDMS step "Define RFC Dest."

    We just installed TDMS and I am trying to set up the RFC destinations between our systems. Since we will be using many different systems and clients and my company is very sensitive about using standard namespaces we want to try to define our own destinations and use them via the "Get destination" function.
    So I've built a destination in SM59 (I called it TDMS_EZA371_EZA371 in case this matters) and entered a user with SAP_TDMS_USER role assigned. When I try to use this destination a popup appears saying "Definition of destination MBT_Z_PR498CC_SUB_PCL is not complete. Server name is initial.". What does this mean? The server name in the destination is totally fine and a connection test in SM59 works alright. Is this a bug or am I doing something wrong?
    Kind regards
    Mario

    When I try to use this destination a popup appears saying "Definition of destination MBT_Z_PR498CC_SUB_PCL is not complete. Server name is initial.". What does this mean? The server name in the destination is totally fine and a connection test in SM59 works alright. Is this a bug or am I doing something wrong?
    The technical names for the destinations are created automatically in accordance with the following naming convention:
    MBT_<Subproject Name>_<System Role>
    In your case you may create sub-projects with the names which you wish to (TDMS_EZA371_EZA371) and then the RFC detiantion name will be MBT_TDMS_EZA371_EZA371_PCL etc..

  • Queue names in SMW01

    All,
    We are transferring quotations & orders from R/3 to CRM. Both of them have 'Z' transaction types and everything is working fine. But I have noticed in the SMW01 log that transaction types for warranties are also coming through to CRM(this has been happening for quite sometime now). But they dont actually get created because we have not defined the 'ZWAR' document type(R/3) for warranty in CRM. So there is no question of warranties getting created in CRM.
    The filter setting is defined in the 'SALESDOCUMENT' object type in R3AC1 where we are allowing only orders but not warranties. But why do I see the BDOC log in SMW01 transaction if I have already filtered that in R3AC1? I tried to display the BDOC data it says there is no data in the BDOC, I guess there is no actual BDOC but there is a log with a BDOC message ID.
    Of course this is not an issue for us as there are no warranties created in CRM, they are just coming inside smw01 and falling off from there.
    But I want to know if there is anyway this BDOC log itself can be stopped from  coming into SMW01. Is there any setting that I can stop this queue? Also I see the message queue name R3AD_SALESDO....in SMQ2 appearing momentarily.
    Any suggestions are appreciated.
    Thanks!
    Sunil

    Hi sunil,
    Explicitly in
    R3AC1 specify that warrenty transaction should not flow and then click on the syncronization button on the top of the tab.
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • MessageQ: dynamic queue names

    In our application we would like to do the following:
    at runtime, attach to a temporary, secondary queue.
    bind some arbitrary name to this queue. exec a new process with the new queue
    name given to it as parameter.
    The 'child' process should be able to read messages put on the queue by the 'father'.
    I haven't been able to get this to work. After creating
    a temporary, secondary queue, my bind_q call fails with a PAMS__NOOBJECT error.
    Are there any configuration items that are needed before this
    can work?
    Thanks, Guy
    If theres a more appropriate forum for MessageQ questions, could you please point
    me to it? Thanks, Guy

    > please refer the link what you provided in section 2.8 mentioned JMS Receiver communication channel will give response back,but i never tried.
    Yest because this document is applicabe for a scenario where request msg will come form sender JMS to XI and then Response will be sent back again to JMS by using receiver JMS adapter. So senario is JMS request --- R3 (via XI) --- R3 response to JMS.
    But here case is different. e.g. RFC --> PI --> JMS  and reply will get back from JMS  to RFC.  So definetly in this case response will come from sender JMS and not from receiver JMS.
    Read sec 2.8 throughly, you will come to know how to set the queue names dynamically for RECEIVER JMS Adapter.
    Regards,
    Sarvesh

  • Creating a destination queue programatically

    Is there any way to create a Destination Queue for a Connection Factory through my Java program, if I do not want to do it through the Admin console?
    Specifically, is there an API to create a JMS queue?
    Thanks.

    What do you mean by creating Queue for ConnectionFactory? ConnectionFactory is to create connection to the JMS server.
    JMS provides methods like createTopic and createQueue but they are for converting provider specific name into Topic or Queue object for destinations already existing. One can not create physical destinations through these methods. Exception is for temporary destinations. Methods are createTemporaryQueue and createTemporaryTopic. Their life period is that of the connection. They will be garbage collected when the connection is closed.
    Sagar
    http://www.sun.com/software/products/message_queue/

Maybe you are looking for