Setting JMS property

Hi All,
Within a Receiver J2EE JMS adapter, I want to set a JMS property on a message. 
I have selected "Set Additional JMS Parameters or Replace Default Settings" and added the following 2 entries:
JMSMessageClass
    com.tibco.tibjms.TibjmsMessage
JMS.Message.method.setStringProperty
    java.lang.String FirstMessage, java.lang.String true
Unfortunately, this configuration does not work.  The JMS property "FirstMessage" is not set on the JMS message.
The JMS message itself is correctly sent out.
Questions:
- Setting properties on messages is supported in SP13, or is it a new feature in SP14?
- What am I doing wrong?  It is almost a 1-to-1 copy from the docs.
FYI: we use XI SP13 with Tibco as a JMS provider
Kind regards, Guy Crets

Hi Crets,
we have a scenario where we need to use XI with tibco.
We are having problems to send a message to tibco. Can u please tell me what seettings need to be done in XI and tibco in order to send the message.
FYI: we are XI SP11 with Tibco as a JMS provider
I appreciate ur time and response.
regards,
kishan

Similar Messages

  • How  to Set JMS property and Read JMS property in BPEL using JMS adapter

    Does any one know how to set or read more than one JMS property in BPEL using JMS adapter. My queue server is Oracle JMS server.
    Any help and sample is well appreciated

    Hi Van
    I have noted that only the attribute "type" is missing. It seems that when you create a "string" property, the attribute "type" is droped from the XML. If you use another type (as "integer" or "double") it stays there.
    If you try to read your properties, except for the "type" attribute, you should be successful, as I am. If you need, please tell me your email, I can send you my code.
    Source Code:
    in ASSIGN activity (process which SENDS the JMS message):
    <assign name="TESTES">
    <copy>
         <from expression="'string'"/>
         <to variable="HeaderJms" part="outboundHeader"
         query="/ns5:JMSOutboundHeadersAndProperties/ns5:JMSOutboundProperties/ns5:Property[1]/@type"/>
    </copy>
    <copy>
         <from expression="'name'"/>
         <to variable="HeaderJms" part="outboundHeader"
         query="/ns5:JMSOutboundHeadersAndProperties/ns5:JMSOutboundProperties/ns5:Property[1]/@name"/>
    </copy>
    <copy>
         <from expression="'value1'"/>
         <to variable="HeaderJms" part="outboundHeader"
         query="/ns5:JMSOutboundHeadersAndProperties/ns5:JMSOutboundProperties/ns5:Property[1]/@value"/>
    </copy>
    <bpelx:append>
         <bpelx:from>
         <Property name="" type="" value=""
              xmlns="http://xmlns.oracle.com/pcbpel/adapter/jms/"/>
         </bpelx:from>
         <bpelx:to variable="HeaderJms" part="outboundHeader"
              query="/ns5:JMSOutboundHeadersAndProperties/ns5:JMSOutboundProperties"/>
    </bpelx:append>
    <copy>
         <from expression="'string'"/>
         <to variable="HeaderJms" part="outboundHeader"
         query="/ns5:JMSOutboundHeadersAndProperties/ns5:JMSOutboundProperties/ns5:Property[2]/@type"/>
    </copy>
    <copy>
         <from expression="'name2'"/>
         <to variable="HeaderJms" part="outboundHeader"
         query="/ns5:JMSOutboundHeadersAndProperties/ns5:JMSOutboundProperties/ns5:Property[2]/@name"/>
    </copy>
    <copy>
         <from expression="'value2'"/>
         <to variable="HeaderJms" part="outboundHeader"
         query="/ns5:JMSOutboundHeadersAndProperties/ns5:JMSOutboundProperties/ns5:Property[2]/@value"/>
    </copy>
    </assign>
    in ASSIGN activity (process which READS the JMS message)
    <assign name="Assign_1">
    <copy>
    <from variable="Variable_1" part="inboundHeader"
    query="/ns3:JMSInboundHeadersAndProperties/ns3:JMSInboundProperties/ns3:Property[10]/@name"/>
    <to variable="temp"/>
    </copy>
    <copy>
    <from variable="Variable_1" part="inboundHeader"
    query="/ns3:JMSInboundHeadersAndProperties/ns3:JMSInboundProperties/ns3:Property[10]/@value"/>
    <to variable="temp"/>
    </copy>
    <copy>
    <from variable="Variable_1" part="inboundHeader"
    query="/ns3:JMSInboundHeadersAndProperties/ns3:JMSInboundProperties/ns3:Property[12]/@name"/>
    <to variable="temp"/>
    </copy>
    <copy>
    <from variable="Variable_1" part="inboundHeader"
    query="/ns3:JMSInboundHeadersAndProperties/ns3:JMSInboundProperties/ns3:Property[12]/@value"/>
    <to variable="temp"/>
    </copy>
    </assign>
    Note that I do not try to read the "type" attribute, otherwise it will fail.
    Here is the JMS Header Message received:
    <inboundHeader>
    <JMSInboundHeadersAndProperties xmlns="http://xmlns.oracle.com/pcbpel/adapter/jms/">
    <JMSInboundHeaders>
    <JMSCorrelationID>
    bpel://localhost/pi_lms-c001e/BpelPiAtualizacaoC001E~1.0/3200025-BpInv0-BpSeq1.6-2
    </JMSCorrelationID>
    <JMSDeliveryMode>2</JMSDeliveryMode>
    <JMSExpiration>0</JMSExpiration>
    <JMSMessageID>ID:467DFA1FA1ED459EBF37F51F596C3F12</JMSMessageID>
    <JMSPriority>4</JMSPriority>
    <JMSRedelivered>false</JMSRedelivered>
    <JMSType>com.mercurio.lms.integration.c001eip.c001EIntegrationPoint</JMSType>
    <JMSTimestamp>1201552046253</JMSTimestamp>
    </JMSInboundHeaders>
    - <JMSInboundProperties>
    <Property name="JMSXDeliveryCount" type="integer" value="1"/>
    <Property name="JMSXRecvTimestamp" type="long" value="1201552046698"/>
    <Property name="JMSXUserID" value="lms_dev_int_v1_user"/>
    <Property name="JMS_OracleDeliveryMode" value="2"/>
    <Property name="JMS_OracleTimestamp" type="long" value="1201552046253"/>
    <Property name="JMS_OracleDelay" type="long" value="0"/>
    <Property name="JMSXState" type="integer" value="0"/>
    <Property name="IAS_VERSION" value="10.1.3"/>
    <Property name="JMS_OracleDeliveryMode" value="2"/>
    <Property name="name" value="value1"/> ("type" attribute was droped!!!)
    <Property name="JMS_OracleTimestamp" type="long" value="1201552046253"/>
    <Property name="name2" value="value2"/> ("type" attribute was droped!!!)
    </JMSInboundProperties>
    </JMSInboundHeadersAndProperties>
    </inboundHeader>
    Regards
    Marcelo

  • Message Selector and Setting JMS Header Properties PL/SQL Enqueue

    Currently I am attempting to use the Message selector functionality. I just know know exactly how we need to set the property in PL/SQL when enqueuing. I also want to verify the syntax that I should use in the event that I am doing this incorrectly...
    The code I am using to test the enqueue is
    declare
    enqueue_options dbms_aq.enqueue_options_t;
    message_properties dbms_aq.message_properties_t;
    message_handle RAW(16);
    agent sys.aq$_agent := sys.aq$_agent('', null, null);
    message sys.aq$_jms_text_message;
    recipients DBMS_AQ.aq$_recipient_list_t;
    BEGIN
    message := sys.aq$_jms_text_message.construct;
    message.set_text('<ORDER><HEADER_ID>16992531</HEADER_ID></ORDER>');
    message.header.set_string_property('bamfilter','ORDER_ENTRY');
    dbms_aq.enqueue(queue_name => 'XX_OM_MONITOR_Q',
    enqueue_options => enqueue_options,
    message_properties => message_properties,
    payload => message,
    msgid => message_handle);
    COMMIT;
    END;
    we have tried a few other methods, but still to no avail...
    the syntax I believe for the selector in the ems should be bamfilter='ORDER_ENTRY'
    Any help would be great.
    The DB the Queue is locate is on 10g if that makes any difference...

    Yes
    I am able to specify JMS Header and JMS Properties when producing a message. However I am not able to user "Message Selector" to filter messages based on JMS Properties information when consuming messages.
    In the link you provide, there is an example on how to use Message Selector:
    # (a copy from the link)
    Message Selector
    ...for example, you can enter logic, such as:
    * JMSType = 'car' AND color = 'blue' AND weight > 2500
    * Country in ('UK', 'US', 'France')
    I believe the example with "Country" is exactly what I need, but I can´t get it work.
    I create the same example above, setting a property named "Country" in the JMSHeader, sending the message to a JMS Queue (BPEL Process #1) and try to comsume it on the Message Selector (BPEL Process#2), but JMSAdapter never consumes the message.
    Thanks for your help.

  • JMS Property Group ID value sent from PI to MQ

    Hello,
    We have interface scenario where our messages are being sent from PI7.0 to MQ. We have JMS Receiver adapter configured for sending messages to JMS queues on MQ.
    We have set the adapter specific message attributes and setting the Group ID using dynamic configuration. In the additional message properties, we are passing the Group ID to JMSXGroupID of MQ. While monitoring messages in the Adapter engine, we can see the GroupID value populated in the dynamic config properties of message but corresponding Group ID value on MQ side comes as null.
    At adapter engine level, I can see this:
    - <sap:DynamicConfiguration xmlns:sap="http://sap.com/xi/XI/Message/30" SOAP:mustUnderstand="1">
      <sap:Record namespace="http://sap.com/xi/XI/System/File" name="Directory">/usr/sap/iface/xi/batch/mq/za</sap:Record>
      <sap:Record namespace="http://sap.com/xi/XI/System/JMS" name="DCJMSMessageProperty0">ID:5A414E41414D53414331313030383031313030383139</sap:Record>
      <sap:Record namespace="http://sap.com/xi/XI/System/File"
    Can anyone help us on this. Is there any setting or configuration that specifies that the JMS property is propagated to MQ Group ID or is there anything to be checked/done on MQ end?
    Thanks.
    Swapna

    Hello!
    As you told us the problem is not with setting the property.
    The problem is that when the message is sent to the JMS queue, the IBM driver does not set the property.
    This could be because your target client is not JMS compliant, is this?
    Best regards,
    Franklin Ayres

  • Setting JMS Message header and properties in JMS Adapter ESB Component

    Hi,
    I am new to using some of these adapters in Oracle ESB and need some help.
    I am trying to define a JMS Publisher using JMS Adapter component in JDeveloper. I would like to publish messages with message property set to a topic. I dont find a way to do that.
    I see that for consuming JMS messages, the JMS Adapter allows to specify message selector but I could not find a way for producing message with a user defined message property. I would like to use that property in the message selector to filter messages and consume.
    I am using Oracle SOA Suite 10.1.3.3.x
    Can someone help please?
    Thanks.

    Thanks for the response.
    I think I found the solution although I havent tried it out yet.
    ESB sample 110.JMStoJMSHeaders outlines the approach.
    It is my understanding that JMS Message selector can work on JMS header or JMS properties (user defined) but not on JMS body. (All the three constitue a JMS message). Hence the need to set a JMS property prior to publishing the message to a topic/queue.
    Thanks.

  • Adding jms-property

    Is there a way to add jms-property tag in rout node action
    @jc:jms-property key="accountIdentifier" value="{accountID}"

    Jms-properties are nothing else than custom JMS headers. Therefore in ALSB you can use the Transport Header Actions in the routing node to set your properties.

  • Is their a way to set system property in weblogic console

    Hi WL USERS
    Is their a way to set system property in weblogic console ie (http://localhost:8080/console) ? if yes, can we access that property in code using System.getProperty()?
    Regards
    vishy

    Yes, It is Possible.
    Please check the Option-1). Mention in the Following Link: http://weblogic-wonders.com/weblogic/2010/03/26/nodemanager-based-managedservers-setting-mem_args/
    Here i tried to set a Custom Property "*-Duser.dir=E:/MyDirectory*" through the Admin Console.
    NOTE: Setting any Option like JAVA_OPTIONS/CLASSPATh etc through Admin Console will work only when you start your Servers using the NodeManager. It means when you start your ManagedServers through AdminConsole...or Using nodeManager based WLST scripts.
    Thanks
    Jay SenSharma
    http://weblogic-wonders.com/weblogic/ (WebLogic Wonders Are Here)

  • Set item property to false and true

    when i set item to false and then set item property to true. The item is displayed but its gray out and not enabled. Am i missing something
    Set_Item_Property('PUSH_BUTTON_SAVE',VISIBLE,PROPERTY_FALSE);
    and then
              Set_Item_Property('PUSH_BUTTON_SAVE',VISIBLE,PROPERTY_TRUE);

    Check the Forms online help on Set_Item_Property, near the bottom in the usage notes. Lots of things happen when you set visible to False:
    Setting DISPLAYED to False:
      sets the Enabled and Navigable item properties to False
      sets the Updateable item property to False
      sets the Update_Null item property to False
      sets the Required item property to False
      sets the Queryable item property to False
    So you may need to set more of them back to true in your code when you want to make it re-display.

  • JMS event generator extract custom jms property

    [cross posted from integration.interest - this seems the correct place to post]
    Hi, I was looking for a way to enable a workflow/process to extact a custom jms property that is send with a jms message to the jms event generator.
    So the client inserts name/value pair inside the jms message, the event generator picks up the message and starts a workflow. How can I extract that custom name/value pair once inside the workflow/process ?
    TIA

    Hey can u tell me the solution for this problem.....I am also facing similar problems......Help is appericiated....

  • How do I set ClientCredentials property to windows credentials?

    As per MSDN
    http://technet.microsoft.com/en-us/library/92a9678c-bc4f-4d7a-ba44-85989bfe27ca
    Building Applications Using the Reporting Web Service and the .NET Framework we have to set Credentials as below
    ReportingService2010 rs = new ReportingService2010();
    rs.Credentials = System.Net.CredentialCache.DefaultCredentials;
    However, after creating the proxy I don't see proxy has Credentials property as MSDN says. The proxy has ClientCredentials property but it is not derived from ICredentials
    I'm using http://serverurl/ReportServer/ReportService2010.asmx
    How do I set ClientCredentials property to windows credentials in this case?

    But i dont see "Add web reference" option.
    Have you read the link I posted? "Add Service Reference" => button "Advanced" => "Add Web Reference"
    to check if the folder already exists
    Sure, with
    ReportingService2010.ListChildren
    Method
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • In which function i should set rendered  property of components

    Hi
    Thank you for reading my psot.
    it is really making me mad.
    can some one tell me which function of a backing bean i should use to set rendered property of some components ?
    i tried all of them and none of them seems to apply the rendereing propretiy.

    It is easy to find out
    Add a message group to the Page. Then in each method add
    info("At method <method name>");
    Run the application and see the results.
    - Winston
    http://blogs.sun.com/roller/page/winston?catname=Creator

  • Windows installer sets VersionNT property to 603

    Hello,
    OS: Windows 10 Technical Preview
    I've got msi package, which has LaunchConditions based on VersionNT(64) property, but installer sets this property to 603 (corresponding to Win8.1\2012r2). I wrote custom action, where I call VerifyVersionInfo function, and on 9879 build it worked,
    but starting from 9926 It doesn't. It seems that VerifyVersionInfo now requires proper GUID in manifest file, that is not possible for binary custom action. What is the proper way to detect Windows 10 version in msi package?
    I tried to ask this question at Windows Insider Program, but i was suggested to ask it here.
    Thank you.

    Hello,
    OS: Windows 10 Technical Preview
    I've got msi package, which has LaunchConditions based on VersionNT(64) property, but installer sets this property to 603 (corresponding to Win8.1\2012r2). I wrote custom action, where I call VerifyVersionInfo function, and on 9879 build it worked, but starting
    from 9926 It doesn't. It seems that VerifyVersionInfo now requires proper GUID in manifest file, that is not possible for binary custom action. What is the proper way to detect Windows 10 version in msi package?
    I tried to ask this question at Windows Insider Program, but i was suggested to ask it here.
    Thank you.
    Hello,
    1. Windows 10 has not been official released that there is not a solid version for us to detect, and currently issues related to windows 10 are not supported, you could consider submitting this feedback with the
    Give us feedback part shared in the following document.
    http://windows.microsoft.com/en-us/windows/preview-updates-feedback-pc
    2. It's not clear which publishment you are using, if possible, you could share the detailed information like the tool to publish your project and the configuration in that feedback.
    Thanks for your understanding.
    Regards,
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • [solved] Using xprop to set a property

    xprop(1) has a "-set" option. I can't figure out how to use it. The "surf" browser is scriptable by setting a property named "_SURF_URL" to the URL you want it to load. I've tried these:
    $ xprop -id 14680096 -set _SURF_URL http://www.google.com
    xprop: error: unsupported conversion for _SURF_URL
    $ xprop -id 14680096 -f _SURF_URL STRING -set _SURF_URL http://www.google.com
    xprop: error: Bad format: STRING.
    (The "id" is the one printed by "surf -x", and is correct, since I can use it to read properties.)
    How do I use this?
    Last edited by ataraxia (2009-08-12 14:55:01)

    The -f option isn't that straightforward... see the description of 'format' and 'dformat' in xprop(1).
    This should work:
    xprop -id 14680096 -f _SURF_URL 8s -set _SURF_URL http://www.google.com

  • Setting SpaceAfter property with Word ActiveX

    I am using the wordreport and Microsoft Word Object 9.0 Object Library instruments to generate a report.  I would like set the paragraph Space Before and Space After properties before generating my report.  In Word this is part of the paragraph formatting options.  I want to set both to 0 for my report.  According to the documentation on MSDN, these properties are part of the Paragraph collection in the ActiveX (the following is from http://msdn.microsoft.com/en-us/library/office/bb208789%28v=office.12%29.aspx):
    Switching the space before a paragraph between 12 points and none
    The following example toggles the space-before formatting of the first paragraph in the selection. The macro retrieves the current space before value, and if the value is 12 points, the space-before formatting is removed (the SpaceBefore property is set to zero). If the space-before value is anything other than 12, the SpaceBefore property is set to 12 points.
    Sub ToggleParagraphSpace()
    With Selection.Paragraphs(1)
    If .SpaceBefore <> 0 Then
    .SpaceBefore = 0
    Else
    .SpaceBefore = 6
    End If
    End With
    End Sub
    I cannot find a function in the ActiveX library that sets this property. There are several Paragraph and Selection formatting functions, but none for Space Before or Space After.  Is it possible to set these properties through the ActiveX control?
    Tony G.

    Daniel,
    Thanks!  That's exactly what I was looking for.  I didn't realize it was hidden in the SetProperty function.  It seems odd that the ActiveX library includes paragraph formatting functions like ParagraphFmtTabIndent and ParagraphFmtSpace1, but it doesn't have explicit functions for SpaceBefore and SpaceAfter. 
    For the benefit of anyone else who might be following this thread, I had to add a few functions to get some additonal ActiveX collection handles.  Here's what the final code looks like:
    ** GenerateLogFile **
    void GenerateLogFile(void)
        CAObjHandle DocHandle;  
        CAObjHandle AppHandle;
        CAObjHandle CurrentSelectionHandle;
        CAObjHandle ParagraphFormatHandle;
        WordRpt_ApplicationNew(VTRUE, &AppHandle);
        WordRpt_DocumentNew (AppHandle, &DocHandle);
        WordRpt_SetReportLineSpacing (DocHandle, 1);
        Word_GetProperty (AppHandle,
                          NULL,
                          Word_ApplicationSelection,
                          CAVT_OBJHANDLE,
                          &CurrentSelectionHandle);
        Word_GetProperty (CurrentSelectionHandle,
                          NULL,
                          Word_SelectionParagraphFormat,
                          CAVT_OBJHANDLE,
                          &ParagraphFormatHandle);
        Word_SetProperty (ParagraphFormatHandle, NULL, Word_ParagraphsSpaceBefore, CAVT_FLOAT, 0.0);
        Word_SetProperty (ParagraphFormatHandle, NULL, Word_ParagraphsSpaceAfter, CAVT_FLOAT, 0.0);
        // create report using functions like WordRpt_AppendLine and WordRpt_InsertImage       
        CA_DiscardObjHandle(AppHandle);
        CA_DiscardObjHandle(DocHandle);
        CA_DiscardObjHandle(CurrentSelectionHandle);
        CA_DiscardObjHandle(ParagraphFormatHandle);
    } /* GenerateLogFile */
    I have one last problem.  I've run this program on three different PCs.  All three are running the same versions of Windows 7 and Word 2007.  And yet on one of the three PCs, the WordRpt_InsertImage function doesn't work.  All the other text in the log file is present, but the bitmaps don't get inserted.  I thought that maybe there was a difference in the ActiveX control versions, but I can't find a way to determine what version of the ActiveX is intalled on each machine.  Or is there something else I should be looking at?
    Tony G.

  • Setting the property "Cache Level" of the pcd object to "None".

    Hi all
    I have an EP 6.0 on NW04 SPS 17. I need to solve a problem and found note 960975. My question is, how could we change the setting the property "Cache Level" of the pcd object to "None"? Where should I go? Is it on the NWA, Visual Admin, Configtool or somewhere else?
    Many thanks before.
    Regards
    Agoes
    Message was edited by:
            Agoes Boedi Poerwanto

    Hi Agoes,
    By using the tool Support Desk -> Portal Content Directory -> PCD Administration you can do this. Please note that this tool should only be used in debugging situations.
    There is a new section "Release a Unit from the cache cluster wide" in this tool. With this new functionality, you can remove an object from the cache on all nodes in the cluster. If the object is still in use, it will be reread immediately from the database
    Releasing the entire PCD cache can severely affect performance. Hence, if there are inconsistencies suspected with a single object, e.g. a role or an iview, the new section "Release a Unit from the cache cluster wide" can be used to evict the given object from the cache on all nodes in the cluster.
    Cheers,
    shyam

Maybe you are looking for

  • IN MB51 Report price showing less at the time of Mov.221 issue for project.

    Hi, SAP Experts, I have one issue. In Mb51 Report i wil get less value for xyz material how? Case:  1.Material code - 610000027.            2.Moving Vag price -  59322 Rs            3.Total Value           -  59322 Rs            4.Stock              

  • Windows 7 installation problems Thinkpad X220 (4291-4BG)

    Hello I just bought a new laptop a Lenovo ThinkPad x220 (4291-4BG). I want to do a clean windows install on it. I have downloaded the windows 7 professional ISO from MSDN. For installation i do as fallows. 1. Pressing F12 at boot to start from my ext

  • Why am I having so much trouble staying connected to my wireless broadband?

    Hi.  We have our broadband connected to a router.  My husband, who has an HP laptop, never has any connectivity issues.  I have a macbook, not sure what generation it is.  I am constantly lossing connection to the router.  Sometimes the network is st

  • RH7: Corrupted Special Characters in TOC, Glossary, Favorites, etc.

    When I generate a .chm from a Japanese, Polish, Russian or Chinese RoboHelp 7 HTML Help, the special characters are corrupted on the .chm file's Contents, Search, Favorites, and Glossary tabs as well in the HTML Help window's title bar. For instance

  • Segmentation fault in /usr/lib32/libc.so.6

    Hi. I have two machines very different, but both of them with fully updated 64 bits Arch with 3.11.2 kernel. I've bought a SpeakOut English course that includes a native linux binary and, for my surprise, it works in one machine but throws a segfault