Java JMS ObjectMessage

Hey there
Been struggeling all day + yesterday on how to store a pdf-message into a (Glassfish) jms queue from a Replier-class, and then to retreive it in a Requestor class.
The scenario:
Requestor---sends file to jms/RequestQueue-->
Replier----processes the file-->
Replier---sends pdffile to jms/ReplyQueue-->
Rquestor---retreives jms/RequestQueue and sends it to a browser->
My issue is.
The Replier
String fil = "C:/PDFTEST/"+pdffile+".PDF";
File file = new File(fil);
ObjectMessage outMessage = session.createObjectMessage();
outMessage.setObject(file);
outMessage.setJMSCorrelationID(message.getJMSCorrelationID());
replyProducer.send(outMessage);Everything seems to work from Requestor send to MQ, The Replier above gets the file to process, and to store the File as a ObjectMessage in MQ...But, when the Replier gets the file from MQ it can't get it out as a java.io.File.
ErrorCode:
java.lang.NullPointerException
     at com.edbteamco.common.servlet.OnlineFaktura.invoiceGET(OnlineFaktura.java:273)
     at com.edbteamco.common.servlet.OnlineFaktura.doGet(OnlineFaktura.java:108)The RequestorCode:
queueConnection.start();    
QueueReceiver queueReceiver = queueSession.createReceiver(repQueue, "JMSCorrelationID = '" + jmsCorrelationID + "'");    
msgReceived = (ObjectMessage) queueReceiver.receive(10000);
response.setContentType ("application/pdf");
response.setHeader           ("Content-Disposition", "attachment; filename=\"testfilen.txt\"");
response.setHeader("cache-control", "no-cache");
InputStream in = new FileInputStream((File)message.getObject()); the line **InputStream in = new FileInputStream((File)message.getObject()); ** causes the error
Anyone up for helping?:)

Yes, he gave me the solution, but not how to implement it. I think the documentation is not verry good when it comes to handling files through jms.
I've now tried the following:
InputStream is = new FileInputStream(new File(".....filelocation....."));
long length = file.length();
byte[] bytes = new byte[(int)length];
int offset = 0;
int numRead = 0;
while (offset < bytes.length && (numRead=is.read(bytes, offset, bytes.length-offset)) >= 0)
    offset += numRead;
BytesMessage outMessage = session.createBytesMessage();
outMessage.setJMSCorrelationID(message.getJMSCorrelationID());
outMessage.writeBytes(buffer);
replyProducer.send(outMessage);And when I try to open that file up on my client, I get a nullPointerException:
msgReceived = (BytesMessage) queueReceiver.receive(10000);
// How to read the bytes right???
ServletOutputStream outs = response.getOutputStream();
while (true)
         try {
              byte b = ((BytesMessage)message).readByte();
              outs.write((int)b);
              System.out.println("Byte: " + (int)b);
              catch (MessageEOFException e) {
                   break;
Please help
Cincerely Paul

Similar Messages

  • ClassCastException with javax.jms.ObjectMessage

    Hello
              I have the following problem:
              I filled a JMS queue with ObjectMessages containing a so called container class (self written, plain old java class implementing serializable).
              I have also written a Servlet that runs in the same EAR like the EJB that fills the JMS queue. This servlet uses a JMS QueueBrowser to show the messages. It casts the Message to ObjectMessage, calls getObject() and casts again in my container class.
              Now when I shutdown the server, regenerate my source and restart the server, the last cast to my container class doesn't work anymore (ClassCastException). When I print out the hash value of the class (containerFromObjectMessage.getClass().hashCode() and Container.class.hashCode() those two hashcodes are different!
              Does anybody have an idea? Is there a switch that I have to set to my WLS 8.1 be a little less secure?
              Regards,
              Stephan

    Correction:
              This only happens when I don't restart my server. So when I hot deploy the EAR with the new compiled classes it doesn't work (ClassCastException). But when I restart the server the servlet runs fine.
              So there must be a cache in the server or something like that.
              Does anybody know any hints or tips to help me?
              Stephan

  • JMS ObjectMessage

    I successfully sent a JMS message using ObjectMessage. But when receiving, it halts at the point where I tried to get the Object out of the message.....
    Source
    =============
    public void onMessage(Message message)
    System.out.println("Message Received");
    if(message instanceof ObjectMessage)
    System.out.println("Message Type: ObjectMessage");
    try{
    System.out.println("1");
    ISCLPDocument _oISCLPDocument = (ISCLPDocument)((ObjectMessage)message).getObject();<-- stops here or "hangs"
    System.out.println("got ISCLPDocument Object");
    System.out.println("Message Type = " + _oISCLPDocument.getMessageType());
    }catch(Exception _oException)
    System.out.println("4");
    _oException.printStackTrace();
    }

    This was most likely caused by the fact that the message consumer had trouble de-serializing the content of the ObjectMessage. You need to make sure that: 1. the object contained in the ObjectMessage as well as all fields of this object are Serializable; 2. Each field of the object contained in the ObjectMessage was set to a value with the EXACTLY matching data type. Let me explain 2.
    I this something like this in my code:
    SerializableObjectToSend.lastUpdate = someObject.lastUpdate;
    where SerializableObjectToSend.lastUpdate was declared as java.util.Date, and someObject.lastUpdate was declared as java.sql.TimeStamp. This compiled fine because TimeStamp is a sub-class of Date. But during run time, the message consumer hung on the getObject() call. Reason: I was pretty sure that it had trouble de-serializing a java.sql.TimeStamp into a java.util.Date !! So I made the following change and everything worked fine:
    SerializableObjectToSend.lastUpdate = new java.util.Date(someObject.lastUpdate.getTime());
    Hope that helps.

  • Dequeuing a Map message from AQ using Java/JMS

    I have a queue in Oracle AQ, created from a queue table with queue_payload_type of SYS.AQ$_JMS_MAP_MESSAGE. I can successfully enqueue a Map message using PL/SQL, but when I try to read a message from the queue using the JMS API (with the Oracle AQ JMS provider JARs) in a standalone Java program, the message is not successfully read. However, the RETRY_COUNT in the queue table is incremented each time I try to read from the queue. I do not receive any error messages on the client side.
    If I change the queue_payload_type of the queue table to SYS.AQ$_JMS_TEXT_MESSAGE instead and enqueue a text message using PL/SQL, I can read the text message successfully in the standalone Java program using JMS. The message is removed from the queue and everything works fine.
    Most Oracle AQ/JMS examples I've found on the web involve text messages. Has anyone been able to read a Map message from an Oracle AQ queue using JMS, or is there a known issue with Map messages?
    I'm running Oracle 10g Standard Edition version 10.2.0.1.0 on Windows XP.
    Thanks for your help,
    Marty

    While you are awaiting an answer you might want to consider applying the 10.2.0.4 patch. Your version is several years old and patches are free.

  • Using Oracle Java JMS to write CLOB into an AQ payload

    Does anyone have an example of code in JAVA using Oracle JMS
    enqueues a CLOB object into AQ ?

    i am not sure how this is done for javascript, but for PHP, the code looks like this:
    var ldr:URLLoader = new URLLoader();
    var req:URLRequest = new URLRequest("http://example.com/example.php");
    req.method = URLRequestMethod.POST //or GET, or whatever you want
    var tmp_data:URLVariables = new URLVariables();
    tmp_data.example_var = "whatever";
    req.data=tmp_data;
    ldr.load(req);
    I suppose it would work kind of the same for JS.

  • JAVA/JMS/Tandem

    Hi all
    This is a question based on JMS that how i can make use of JMS in the below mentioned scenario.
    I have a java client(servlet or EJB)talking with tandem server through remote server call packages and .dll's.
    Question is the tandem server programs wants to inform java client a status change(asynchronous,i mean with out request from user)
    which has occured in tandem
    Will this can get done thro JMS technology.Can a native program(here Remote Server package RSC) make use of JMS.
    the flow iam assuming is like this
    TANDEM ---->RemoteServer Package/DLLS(C language) -->JMS --->JAVA CLIENT ----->Web client(browser).
    Environment is iAS 6.0 as app server with jdk1.2.2 .
    Can anybody give some suggestions /help.Thanks in advance
    Sankaran

    Thanks for the response.
    Is this what you mentioned.
    TANDEM ---->(RSC)RemoteServer Package/DLLS(C language)---->JAVA CLASS WITH JNI method calls(BRIDGE)---->JMS --->JAVA CLIENT ----->Web client(browser).
    Assuming that when ever a status change in the tandem server program,the tandem server prog
    will talk with RSC(will find out some mechanisam to make available of status change from tandem server to RSC with out user request) and the status will be available on BRIDGE class,which will send the status message to JMS Queue.
    This can be accessed by the Java client and shown to the browser.
    Will this be okey.Thanks
    Regards Sankaran

  • Java JMS

    Hello
    Does anyone know any good step by step guide or what ever, to set up Orion 2.0.7 working as a JMS servlet client towards Sun Application Server 9.1?
    I've already have developed a code-snippet for placing an retrieving messages from the MQ-box (remote btw), and runs smooth from commandline.
    However,,, when trying to apply the code into Orion, I get a whole world of issues.
    Tried most adapters I can think off, and everything seems to freeze when calling the InitialContextFactory for setup.
    I've tried the following:_
    MARK:removed real IP with ???.???.???.???:3700
             String useTestNr = "1";
             String factory = "";
             String providerURL = "";
             String pkgs = "";
             String state = "";
             if(useTestNr.equals("1")){  /*** STATUS = freezes up */
                  // TEST 1
                  factory      = "com.sun.enterprise.naming.SerialInitContextFactory";        
                  providerURL = "iiop://???.???.???.???:3700;
                  pkgs        = "com.sun.enterprise.naming";
                  state       = "com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl";
             if(useTestNr.equals("2")){     /*** STATUS =freezes on text: "INFO: sumOfAllWeights = 10" */
                  // TEST 3
                  factory      = "com.sun.appserv.naming.S1ASCtxFactory";
                  //providerURL = "iiop://???.???.???.???:3700";
                  providerURL = "corbaname:iiop:???.???.???.???:3700";
                  pkgs        = "com.sun.enterprise.naming";
                  state       = "com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl";
             if(useTestNr.equals("3")){  /*** STATUS = javax.naming.NameNotFoundException [Root exception is org.omg.CosNaming.NamingContextPackage.NotFound: IDL:omg.org/CosNaming/NamingContext/NotFound:1.0] */            
                  // TEST 2
                  factory      = "com.sun.jndi.cosnaming.CNCtxFactory";
                  providerURL = "iiop://???.???.???.???:3700";
                  pkgs        = "com.sun.enterprise.naming";
                  state       = "com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl";         
             if(useTestNr.equals("4")){     /*** STATUS = Server protocol was not ORMI. Sun app server aint got ORMI right??*/
                  // TEST 4         
                  factory      = "com.evermind.server.rmi.RMIInitialContextFactory";
                  providerURL = "iiop://???.???.???.???:3700";
                  pkgs        = "com.sun.enterprise.naming";
                  state       = "com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl";                     
                   System.setProperty("java.naming.factory.initial", factory);                
                   System.setProperty("java.naming.factory.url.pkgs",pkgs);
                   System.setProperty("java.naming.factory.state",   state);
                   System.setProperty("org.omg.CORBA.ORBInitialHost",     mqServer);
                   System.setProperty("org.omg.CORBA.ORBInitialPort",     mqServerPort);
                   System.setProperty(Context.PROVIDER_URL, providerURL);
                  System.out.println("--Adding System.props to IntialContext()...--");
                 context = (Context) (new InitialContext());  // ALLWAYS freezes here on Orion
    {code}
    I've tried the:
    {code}
    Hashtable env = new Hashtable();
    en.put(......)
    context = (Context) (new InitialContext(env))
    {code}
    as well, but gets the same results
    Allso tried different versions of iiop, ormi etc, but never seem to get quite "there"
    Please please advice,,,been struggling with this the last month
    Cincerely Paul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Hi,
    Assuming
    - you have got UDQ's
    - JMS client also working in a clustered fashion i,e not a singleton JMS client.
    -JMS client not connected to specific UDQ instance
    - JMS client has got 'all' message selectors on  ( and not just a few selectors on..)
    As soon as a message arrives on the UDQ instance . you JMS client  should be able to apply message selector and read the message from the queue as long as it matches the selection.
    have you got your client consuming only specific types on messages or not consuming any messages at all ?
    Sri

  • Java JMS API vs. RAC FCF features

    Hello,
    I have a JAVA application with queue consumer using the JMS API (JMS text message is the queue payload). On the other hand, I'd like to take advantage of the FCF: to use UCP with FCF enabled as the data source. When the physical connection to the DB fails, I'd like to reconnect and reestablish the queue consumer functionality. But I don't know, how to invent the JDBC connection is broken? In the JMS API I have only javax.jms.QueueConnection (or oracle.jms.AQjmsConnection actually). From that object, I don't have access to the Connection object. The FCF standard way to verify the connection is:
    ((oracle.ucp.jdbc.ValidConnection)conn).isValid()
    But this may be done with conn as Connection object. How can I do connection validation having AQjmsConnection object only?
    Any help appreciated, thanks in advance.

    Finally I found the answer by myself :)
    The db connection object may be obtain from the queue session object: AQjmsSession.getDBConnection()
    BR,
    Kuba

  • Consuming JMS ObjectMessages

    Hi!
    I have the following code that is meant to run through a loop until no more objectmessages are in the jms queue.
    Messages are being correctly sent to the jms queue(to test this, i have replaced "receiveNoWait()" with receive() and "Reached here" is been printed to the screen for each object received, but loop does not break) but the loop is always breaking.
    Can you help me fix this?
    Thanks for your help in advance.
    Context jndiContext = new InitialContext();
    ConnectionFactory factory =(ConnectionFactory) jndiContext.lookup("jms/ConnectionFactory");
    Destination dest = (Destination) jndiContext.lookup("jms/Queue");               connection = factory.createConnection();
    Session session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);     
    MessageConsumer consumer = session.createConsumer(dest);connection.start();
    while (true){
         ObjectMessage m = (ObjectMessage consumer.receiveNoWait();
         if(m == null)
         break;
         System.out.println("Reached here");          
         }

    If you want to drain a queue and be completely sure you get every possible message I'd recommend using the receive(timeout) method with some timeout of a second or two. This is because many JMS providers will make sure receiveNoWait() does not block at all - but that does not always mean that there is not a message on the queue. JMS is designed for high performance with as little blocking and latency as possible - providers typically do things asynchronously, so receiveNoWait() often just means there is no message available in this JVM; not that there is no message on the broker available.
    receive(1000) will typically wait long enough to drain messages from the queue if they are available. Its kinda JMS provider dependent; but most providers should work with receive(1000); many won't for receiveNoWait()
    James
    http://logicblaze.com/

  • JMS ObjectMessage getObject() problem

    Does anyone know if one can get an object of a class that has a reference to an interface/abstract class from the ObjectMessage in JMS?
    For example, class A has a reference of an abstract class AA. When sending an object message in JMS,
    one creates an instance of A, A', and an instance of AB, AB', (which is a concrete implementation of abstract class AA), assigns AB' to A' via setter method and put A' into the object message and send it out.
    The problem I am having is on the receiving end. JMS throws IOException (wrapped within JMSException) when the receiving end tries to do getObject().
    Any pointer or enlightenment on this is greatly appreciated. Thanks in advance.

    I've done what you are talking about so it is possible. The trick is to ensure that all classes that are contained in the ObjectMessage, including class A and classes referred to by class A, are Serializable.

  • ReplyTo header field from Java JMS read by C JMS API causes core dump...

    Hi,

    First step is to add the option -Xcheck:jni to your java command line. It will flag common JNI errors.
    If that doesn't identify the problem, then compile your jni code with debugging symbols (-g) and add the following option to the java command line when you run your test: -XX:+ShowMessageBoxOnError. When you hit the problem again, the VM will keep the process alive instead of calling abort(). Then you can use dbx to attach to the live process and should be able to get a better idea of what went wrong.

  • Jms java application poin to point

    Hi,
    I have simple java jms application ,when i execute
    queueSender.send(message);
    i get following erroe
    java.lang.NoSuchMethodError: com.ibm.mq.MQMsg2.resetReplyToQueueName()V
         at com.ibm.mq.jms.MQJMSMessage.writeMQMD(MQJMSMessage.java:1202)
         at com.ibm.mq.jms.MQJMSMessage.write(MQJMSMessage.java:1008)
         at com.ibm.mq.jms.MQQueueSender.sendInternal(MQQueueSender.java:732)
         at com.ibm.mq.jms.MQQueueSender.send(MQQueueSender.java:232)
         at com.ibm.mq.jms.MQQueueSender.send(MQQueueSender.java:265)
         at com.jms.PtpSender.main(PtpSender.java:67)
    Exception in thread "main"
    could anybody help what does this mean

    Hi,
    I am using WEBSPHERE MQSERIES VERSION 5.3 WHICH BUNDLES MA88 WHICH WE USED TO IN EARLIER VERSION

  • Messages are not being dequed by a different connection in JMS

    Scenario
    There are 2 queues - Q_A and Q_B and There are 2 applications - App_1 and App_2
    I am using point 2 point and java JMS
    This is what I want to accomplish
    App_1 queues messages to Q_A
    App_2 dequeues messages from Q_A
    App_2 queues messages to Q_B
    App_1 dequeues messages from Q_B
    But the problem I am having is that neither application can see the messages that have been queued by the other.
    So even though I see the messages in the database in Q_A,
    When I use QueueBrowser from App_B on Q_A to view the messages ... it is empty
    But if I use QueueBrowser from App_A on the same queue Q_ A I can see the messages.
    The same is true the other way round.
    The queueconnection is being created usng the same db user in both apps, and the queues are owned by the same user.
    please help me.
    user489532

    Dear DAMORGAN,
    Thank you for your reply and I apologise for the insufficient information. I am providing the details now. I am aware that JMS is supposed to handle my situation. And I am ableto queue and dequeue messages without problems from the same app. Its only when I am using different apps that I am having a problem. I am pasting relevant pieces of code,Please let me know if more info is needed. Thank for your help.
    Oracle 10g
    Weblogic 10
    DDL to create Queue
    BEGIN
    DBMS_AQADM.CREATE_QUEUE_TABLE (
    QUEUE_TABLE => 'AQ_A_QUEUE'
    ,QUEUE_PAYLOAD_TYPE => 'SYS.AQ$_JMS_OBJECT_MESSAGE'
    ,COMPATIBLE => '8.1.3'
    ,MULTIPLE_CONSUMERS => FALSE
    DBMS_AQADM.CREATE_QUEUE(QUEUE_NAME => 'A_QUEUE',
              QUEUE_TABLE => 'AQ_A_QUEUE',
              MAX_RETRIES => 10,
              RETRY_DELAY => 60);
    DBMS_AQADM.START_QUEUE(QUEUE_NAME => 'A_QUEUE');          
    END;
    Application A sends messages to A_QUEUE like this
    //This is how I get a connection
    QueueConnectionFactory queueConnectionFactory = AQjmsFactory.getQueueConnectionFactory(getDatabaseServer(), getDatabaseSid(), getDatabasePort(), "thin");
    QueueConnection qc = queueConnectionFactory.createQueueConnection(getDatabaseUser(), getDatabaseUserPassword());
    qc.start();
    //This is how I get the Queue          
    QueueSession q_sess = qc.createQueueSession(true, Session.AUTO_ACKNOWLEDGE);
    Queue aQueue= ((AQjmsSession)q_sess).getQueue(getDatabaseUser(), "A_QUEUE");
    TestMsgObject jmsObj = new TestMsgObject();
    //populate Test object          
    QueueSender qs = q_sess.createSender(aQueue )
    ObjectMessage msg = q_sess.createObjectMessage(jmsObj);
    msg.setStringProperty("MESSAGESOURCE", "APP_A");
    qs.send(msg);
    qs.close();
    q_sess.commit();
    //Application B has a message listener like this - TestListener
    public void initialize() throws JMSException, NamingException {
         QueueConnectionFactory queueConnectionFactory = AQjmsFactory.getQueueConnectionFactory(getDatabaseServer(), getDatabaseSid(), getDatabasePort(), "thin");
         qc = queueConnectionFactory.createQueueConnection(getDatabaseUser(), getDatabaseUserPassword());
         q_session = qc.createQueueSession(true, Session.AUTO_ACKNOWLEDGE);
         aQueue = ((AQjmsSession)q_session).getQueue(getDatabaseUser(), "A_QUEUE");
         qr = q_session.createReceiver(aQueue);
         qr.setMessageListener(this);
         qc.start();
    public void onMessage(Message message) {
         try {
              System.out.println("Received Message XFS=" + message.getJMSMessageID());
              //more processing
         }catch(Exception e) {
              e.printStackTrace();
    The message listener is created and initialized from the init() method of a servlet that is loaded on startup.
    The onMessage of the TestListener is never called.
    I can see the messages in the database.
    Also when I call the following code snippet from Application A - the messages are retrieved, but the same code called from application B does not give any messages.
    browser = q_sess.createBrowser(MyUtil.getQueue(q_sess));
    for (Enumeration messages = browser.getEnumeration(); messages.hasMoreElements() ;){
    obj_message = (ObjectMessage)messages.nextElement();
    System.out.println(obj_message.getJMSMessageID());
    I can bounce the app server and still app B does not see the messages.
    However if app B publishes messages to the queue itself, it can see those, without any problem.
    As mentioned before the database user is the same for both the apps and owns the queue, and deques and enque are both enabled.

  • Consume JMS Unit-Of-Work message through OSB proxy service

    Hi,
    Anyone know how to consume a JMS Unit-Of-Work (UOW) message using an OSB Proxy Service of JMS type?
    I can submit a unit-of-work JMS message (which consists of multiple constituent messages) using an OSB proxy & business service combination and setting the UOW transport headers appropriately. I can also separately produce and consume Java objects via a JMS queue where the consumption is done via OSB proxy (of java request message type), but these aren't UOW messages.
    Apparently as soon as it is a UOW message then the message consumed is an ObjectMessage ArrayList and one has to use the "Java" request message type for the JMS consumer proxy, but I'm unsure of how to create the concurrent client jar to use it in the same proxy service's JMS transport configuration in order to output the ObjectMessage ArrayList (UOW message). 
    Ideally I'd like to consume a single UOW XML message via an OSB JMS proxy service.
    Any pointers would be appreciated.
    R

    Finally got this working!!
    For posterity: Needed to insert Java Object JMS messages on the OSB JMS producer (Business Service) side with correct UOW jms transport header set in route node. Then consume the Unit-Of-Work message on the other side via jms proxy service with "java" request message type, with appropriate jar containing the Object class as the "Client jar" in the JMS Transport configuration. In the same JMS consumer proxy I had to do a java callout, passing the contents of $body, using java.util.ArrayList and javax.jms.ObjectMessage, as input into a method (.. decodeJavaMessage(ArrayList<ObjectMessage> ...)). In this java callout class you can get to each individual ObjectMessage via typecasting the get() method on the Arraylist to (ObjectMessage) and then just typecast the getObject() on this Objectmessage into your original Java Class (same as what you inserted onto queue originally).
    Hope this saves someone some time in future!

  • One vote for a javax.jms.MapMessage

    I need to send and receive MapMessages to integrate with other Java clients in my Flex app however i have seen that in the documentation message-type parameter of the jms property of a message destination only accepts javax.jms.TextMessage and javax.jms.ObjectMessage.
    If implementing a MapMessage would not be too difficult and someone can point me in the right direction i would be happy to contribute to the project.
    Max

    Hi Max,
    This would be a great enhancement to JMSAdapter and I don't think it'll be hard. These are the classes you need to touch.
    -JMSSettings.setMessageType should support the new message type.
    -JMSProducer.validate should support the new message type.
    -JMSProducer should have a new abstract method called sendMapMessage.
    -JMSQueueProducer and JMSTopicProducer should provide the implementation for sendMapMessage.
    I think this should be it! Once you get this working, please open an enhancement request to BlazeDS and provide your code. And let us know the bug number here so we can vote for it.
    -Mete

Maybe you are looking for

  • solved pls help needed in creating template

    hi frs i have created a template need some modification to be done my xml output looks like below off            hours              q1           q2          q3         avg aaa          10                    1            2            3            2 bb

  • I was trying to move my itunes to an external hard drive and I have now lost all music not purchased with itunes

    I was trying to move my music to an external hard drive but now I have lost all music that was not purchased with itunes. I never hit delete so its still somewhere on my imac. How do I find it?

  • Using text in imovie

    I would like to use text on blank backgrounds in imovie with sound. What would be the best way to do this? Importing a pdf is not working. Do I need another program to make the text into a jpeg? Thanks.

  • Is there a way to organize shared folios in the content viewer app?

    I have quite the collection of folios that have been shared with me. My list has grown quite a bit and it's getting harder to find certain folios in the Content Viewer App on my iPad. The ordering seems to be somewhat random. Is there any way to orga

  • Magical People tags

    After scanning in and editing a photo in PSE 11, I save it to Organizer and it appears with 6 or 8 image (People) tags "magically" applied. This happens every time and it's the same People tags each time. Where are these names being cached and how ca