Trouble using JMS Message Selector and DCJMSMessageProperty0

Hello Experts!
My scenario is Mainframe => MQ => JMS Adapter => XI => SAP
My MQ channel is communicating fine to XI and I've set the JMS adapter to JMS Compliant.
I have multiple message types with consistent headers but varying data layouts that I need to route to different mapping objects. So it seems the best solution for this is JMS Message Selector based on reading a header value from one of the dynamic message properties.
I've read SAP Notes and SAP Library and SDN Wiki articles about this configuration and I think its possible.
http://help.sap.com/saphelp_nw04s/helpdata/en/10/b1b4c8575a6e47954ad63438d303e4/frameset.htm
Note 856346 - J2EE JMS Adapter: Frequently Asked Questions (FAQ)
Note 1086303 - XI JMS Adapter and IBM Websphere MQ: FAQ
https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/usage%252bof%252bmessage%252bselector%252bfor%252bjms%252bsender%252badapter
My mainframe sends an MQ message that includes some extra header information like
field: ApplType  VALUE: 000000002                                              
field: ApplName    VALUE: MIS056O          
I configured my Communication Channel to set Adapter-Specific Message Attributes and also Additional JMS Message Properties to include ApplType and ApplName.
However, I can only see some of the standard JMS header items such as CorrelationID, none of the additional ones.
In RWB I see "JMS property 'ApplType' that corresponds to dynamic header 'DCJMSMessageProperty0' is missing from JMS message 'ID:f2f0f0f9f0f4f2f1f0f9f1f5f5f3f7f44040404040404040'; consequently it cannot be added to XI message 'e136a6e8-8580-4adc-2007-9ccab93f1ef4' as a dynamic header"
Can anyone with some experience doing this help me see if I'm missing a trick somewhere? How can I see where this information is being dropped? Could it be when MQ is handing to JMS?
Many thanks,
Aaron

After sifting through some IBM documentation I found that the PutApplName field actually maps to JMS name JMSXAppID. So after adding this to my Additional JMS Message Properties list I get the dynamic JMS message property I need for sorting out the messages.
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/topic/com.ibm.mq.csqzaw.doc/uj25450_.htm

Similar Messages

  • JMS message selector

    hi there,
    any one used JMS message selector field in the JMS sender adapter. I want to filter out messages that are relevant for various interfaces. where do i set the filter value. i read java docs, it says the filter is possible for message header and properties. the weblog on sdn is not exactly clear and it doesn't work either.
    thx

    Ya you can go ahead with it right ??? See it says you can filter on the basis of header info and its properties , so header info will have originating source info. Its worthful to use it that way . Please clarify if i am wrong , i think thats what u require filter msg on basis of interface for what you are using the adapter.
    ref : http://java.sun.com/j2ee/sdk_1.3/techdocs/api/index.html
    ref : http://help.sap.com/saphelp_nw70/helpdata/EN/45/20d245ceff2b35e10000000a1553f7/frameset.htm
    I just tried , see if it helps , or i am wrong in getting your question
    If helpful please award points
    Abhishek

  • 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.

  • Experiences using the JMS Message Selector

    I am using a JMS Adapter Sender Communication Channel and try to select the messages I want to consume with the Message Selector. My first attempts all failed - I am not sure if the syntax I am using is correct or if anything else has to be set up to use the Message Selector.
    My sample was to enter the following into the field for Message Selector:
    JMSCorrelationID = '123456789012345678901234'
    I also tried the following variations:
    JMSCorrelationID = "123456789012345678901234"
    JMSCorrelationID = 'ID:123456789012345678901234'
    JMSCorrelationID = "ID:123456789012345678901234"
    but none of them were successful.
    Anybody got that feature to work yet and can help me...
    regards,
    peter

    Now I found it out finally...
    JMSCorrelationID = 'ID:41727469636c655570646174656400000000000000000000'
    where ID: is obviously added by JMS? XI? don't know... and the actually id is in Hex...
    can anybody enlighten me on the details?
    regards
    Peter

  • 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.

  • [svn] 2692: Bug: BLZ-227 - When using JMS Destination, MessageClient and FlexClient not released from memory when the session times out .

    Revision: 2692
    Author: [email protected]
    Date: 2008-07-31 13:05:35 -0700 (Thu, 31 Jul 2008)
    Log Message:
    Bug: BLZ-227 - When using JMS Destination, MessageClient and FlexClient not released from memory when the session times out.
    QA: Yes
    Doc: No
    Checkintests: Pass
    Details: Fixed a memory leak with JMS adapter. Also a minor tweak to QA build file to not to start the server if the server is already running.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-227
    Modified Paths:
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/services/messaging/adapters/J MSAdapter.java
    blazeds/branches/3.0.x/qa/build.xml

    Revision: 2692
    Author: [email protected]
    Date: 2008-07-31 13:05:35 -0700 (Thu, 31 Jul 2008)
    Log Message:
    Bug: BLZ-227 - When using JMS Destination, MessageClient and FlexClient not released from memory when the session times out.
    QA: Yes
    Doc: No
    Checkintests: Pass
    Details: Fixed a memory leak with JMS adapter. Also a minor tweak to QA build file to not to start the server if the server is already running.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-227
    Modified Paths:
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/services/messaging/adapters/J MSAdapter.java
    blazeds/branches/3.0.x/qa/build.xml

  • Trouble using AirPlay between iMac and AppleTV

    I'm running OS X Lion 10.7.5 and I'm having trouble using AirPlay between iMac and AppleTV (2nd Gen).  It used to work fine, but for some reason it just stopped responding.  I can see my media on my iMac from AppleTV and I can see AppleTV from my iMac when attempting to use AirPlay.  However, when I try to pull or push media from my iMac to AppleTV it just stalls and never loads.  AirPlay works fine from my iPhone and iPad with AppleTV - it's limited to my iMac only. 
    I'm using a Netgear R7000 wireless router and a Netgear AC120 WiFi Extender and as such, I have 4 available wireless networks (2 from the router and 2 from the extender / 2 - 2.4 GHz and 2 - 5 GHz).  My internet access is great and my network performance is good across the board.  All of my software/firmware is up to date (iMac, AppleTV and router/extenders). I've tried all combinations (mixing/matching) all of my wireless networks between devices (iMac/AppleTV) - nothing makes a difference (again, AirPlay works fine between my mobile devises/AppleTV).  Netgear Genie has been making changes to my network settings as new firmware has been installed in both the router and extender.  I'm guessing there is something screwy going on with the network settings on the iMac, but I can't figure it out.
    Anyone have any suggestions?
    Thanks!

    I'm glad you got it all working. Out of interest, how do you (or your son) connect to the internet now? Is it just a dial-up connection? If it is, I am sure you know that, even if you get the Apple TV to share the connection, the speed will seriously limit the use of many of the Apple TV's features.
    The Airport Extreme is a great router but you will need a DSL or cable modem as well as it won't connect to the internet without one. There are many great (and cheaper!) combined modem/routers available if your son wants to get a high-speed network up and running at lower cost. Any other computers, phones, games consoles etc that you may have in the house can then all connect easily.
    I hope that I have helped a little and I will look out for future posts in case I can help again.

  • JMS Message Selector on Message Payload

    Hi,
    I have a requirement where in;
    A JMS adapter consumes messages from an AQ JMS Topic. We need to make selective dequeue from the Topic. Is that possible to make use of the message selector option on the 'message payload'?
    Message selector works on JMS Header and Properties as far as I know.
    Any insight on this would be of great help :-)
    Thanks,
    Manoj Nair.

    It's like almost a month to get a response for such a generic JMS functionality. Looks like the Oracle SOA user base is really low. Anyone with a working example reference.
    Thanks

  • OSB JMS Message Selector / Filter

    HTTP PS and JMS BS puts messages on WLS JMS Queue. We need consume some messages from the Queue based on payload content since interfaces for other messages may go Live in next year.
    JMS Message look like
    <Schools>
    <School>
    <Id></Id>
    <ServiceArea>100</ServiceArea>
    <Type></Type>
    </School>
    </Schools>
    We need to consume messages where ServiceArea = 100.
    Can you advise how to consume messages where ServiceArea = 100 ?
    I would appreciate your help.
    Thanks in advance.
    Kiran
    Edited by: 844345 on Mar 14, 2011 5:02 PM

    JMS message selector on message payload fields is not recommended and it will have performance implications. Instead you can design this in either of the 2 ways below
    1 - Modify the HTTP PS which publishes the message to set the JMSCorrerlationID header ( or any othe custom JMS property) with the value of Service Area. You can achieve this using Transport Header action in HTTP PS route node.
    For the JMS consumer proxy set a message selector on the JMS transport page to filter only messages belonging to this service area.
    2. Let the HTTP PS continue publishing all messages to the output queue. Have a new component in your design called a 'disaptcher' which reads all the message from the output queue, check service area tag and route messages belonging to particular area to an area specific queue. Have your jms consumer specific for service area 100 to listen to only this Area specific queue.

  • Using JMS Messaging Bridge in BPEL

    Hi
    I wanted to create a bpel process to put a message on to a JBoss queue on an external system.
    I could see from many forums that JMS Messaging bridge is a suitable option to go ahead. I could create new JMS destinatiosn and a JMS bridge on top of that.
    Can some once help me out with a sample bpel process inidcating how to use the JMS bridge within the bpel prpcess.
    Thanks in advance

    Hi
    You can define the same queue in both domains.
    In domain A ( the source ) create the Origin of bridge
    In domain A too ( the source) create the destination of bridge ( pointing to address and port of domain B)
    In domain A create the bridge ( joining source and destination )
    In domain A , deploy the connector ... a .rar file
    Best Regards
    Jin
    PD: this doesn?t affect the code of your app.

  • How to use JMS with tomcat and Axis

    Hello
    I'm new in ii, so i'm still a little bit lost. I have been implementing web services with tomcat and Axis. However, these services are synchronous and I would like that some services were asynchronous.
    I've been reading about the topic and I've found that JMS is a good solution for it. I have already downloaded JMS in my computer but now I don't know what else to do. I've been trying to run the SimpleQueueSender.java example but I get the error:
    JNDI API lookup failed: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
    But I have attached all .jar from F:\Sun\MessageQueue\lib
    In addition to this, for my first webservices I used the Java2WSDL, WSDL2Java and AdminClient (axis tool) to create my web services bindings, stubs and skeletons and to deploy the web service on the server. Do I have to use them now with JMS? or now the deployment must be performed in a different way?
    Thank you in advanced,

    The error means that you have to specify the type and location of your jndi store. You could create a jndi.properties file and put two properties in it:
    java.naming.provider.url=file\\\:////var/jndi
    java.naming.factory.initial=com.sun.jndi.fscontext.RefFSContextFactory
    for a file based jndi store. Then you have to make sure your jndi.properties file is in your CLASSPATH. Then you have to use something like imqadmin to create your jndi store and store in it your administrative objects like Queues and QueueConnectionFactories.

  • HT203261 when i use any messaging app and apply any icon on the emoji keyboard, the messenger app crashes/exits to the home page.

    i encountered an issue with using the emoji keyboard. every time i am using a messenger app and insert an icon in the messaging bar, the app crashes/exits back to the home page. what can be causing this?

    oops, fount the solution in this thread:
    https://discussions.apple.com/message/23707673#23707673

  • JMS Message encoding and attaching security certificate

    Dear All
    I am working with JMS Adapter, I need to encode the message and attached a certificate beforing sending to bank.
    Please share your idea.
    Regards
    Aamir

    Aamir,
    Please cross post SOA Suite related queries in SOA Suite forum -
    SOA Suite
    Your requirement can be implemented using custom XML format with a custom java encoder/decoder.
    Regards,
    Anuj

  • Trouble using form on Android and/or iOS devices

    Form was created in LiveCycle. Cannot access form at all on android or iOS device using Adobe Reader. Get message "If this message is not eventually replaced by the proper contents of the document, your PDF viewer may not be able to display this type of document." I downloaded Adobe reader 11.0.1 to iPad and android looks like it may be 10.6.1.

    Not sure which version of LiveCycle you are using, but above links talks about the rendering of XFA forms in HTML5 (introduced with LiveCycle ES4).
    Another helpful link - http://helpx.adobe.com/livecycle/help/experience-mobile-forms-capabilities.html
    ~ Varun

  • Having trouble using ExportPDf message file failed to be converted using Adobe ExportPDF online

    need help
    file failed to be converted using Adobe ExportPDF online

    Hi PeterChick,
    Does it occur with all files or a specific file?
    Are you trying to convert from within Reader or from Browser?
    If from Reader then make sure you are signed in within Reader, also try updating Reader to the latest v11.0.09 and check.
    If from Browser then have you checked with a different browser if possible?
    Regards,
    Florence

Maybe you are looking for

  • Mail won't open after installing Lion 10.7.4

    Hi at all, I have just downgraded my Mac Book Pro - June 2010 from OS X 10.8 - DP3 12A206J to Lion OS X 10.7.4, as soon as I started checking everything's ok I found out Mail's not working anymore, with the following error showing up. "Mail cannot be

  • How do you script guidelines onto a document

    I'm new to this, but I've gone through the reference manual and scripting guide and cannot find the method that places guidelines. The description of the guideline properties is there, but I can't find the method. Thanks in Advance.

  • I have two apps that are always downloading...

    I moved my apps from my MBA to my new iPhone and two of them (Yelp and Zillow) show downloading but they are available to use on another screen. What is the deal?

  • Configuration recomendations for new Mac

    I need some help figuring out the best configuration for a new mac. In addition to basic office tasks, I will be using the computer primarily for all Mac Studio applications and After Effects. A few questions: - memory - is 8GB enough?? - RAIDs - Wha

  • Getting the following error when trying to create a shared disk

    OVM-1010 The XML-RPC call ({0}) returns failure result: {1} any ideas ? Thanks