Transform Bytes message to text message using JMS

please any one tell me how to transform Bytes message coming from Queue to JMS...and i want convert it into text message ...
please give me the source code or tell me the way to solve this problem...
i am new to java....
thanks
Kiran

Your question is not clear. Are you getting an object from the queue or are you getting a byte from the queue?
I am not sure about byte coming from a queue, If you are getting an object then you can do this
In your MDB onMessage() you can do the following
public void onMessage(Message myMessage)
     ObjectMessage Obj = (ObjectMessage) myMessage;
     Object Msg = Obj.getObject();
     MyMessage lMessage = (MyMessage) Msg;
     //do your processing here with the object
}

Similar Messages

  • How to Send  message to MQ without using JMS Receiver Adapter

    Hi Frnds,
    Actually i am working one File to JMS scenario,I have to send message to MQ,What are the different ways we can send  message to MQ without using JMS Adapter.
    Regards,
    Raj

    Hi Ramesh,
    Thanks for your replay,could you please eloborate how to integrate that one with XI,and how to use in XI?
    regards,
    raj

  • Hello I have iPhone 4s, i'm trying to use the service under messaging called text message forwarding it's asking for a code?

    Hello I have iPhone 4s, i'm trying to use the service under messaging called text message forwarding it's asking for a code from my iPad. What code?
    I am getting iMessages going to my iPad but not my iPhone. I am hoping this feature will fix my issue. However I do not know where to get the "code" from my iPad.
    any idea?
    thank you
    I Have the 4th gen iPad, iPhone 4s and the latest iOS updates on both.

    Chrisj4203, thank you for your kind answer.
    I have done a lot of restores to the Iphone, and resets also.
    I;ve done holding both buttons as you sugested, but there is no signal appearing.
    I am in Uruguay, South America and the original company is Movistar ( Telefonica) and the new sim card is from ANTEL ( the officail and biggest company in my country).
    I don;t knoe what todo.
    I have been trying for more than one mont.
    I have gone several times to both companies. Aldo two times to Apple uruguay, and nobody can help me.

  • How can I add a new message(custom text message) to the holiday approval em

    How can I add a new message(custom text message) to the holiday approval email-notification sent to the manager?
    TIA

    The answer is 'not very easily', unless the information you want to display is the employee's leave balances. In 12.1.3 Oracle have delivered functionality that allows you to include the leave balances in the approval notifications out-the-box, ie, without customization.
    For any other information you're probably going to have to customize the standard delivered HRSSA workflow. Within this workflow, the Leave of Absence functionality uses the Notify Approver (Embedded) (HR_APPROVER_NTF) notification. The body of this notification is set to the Notify Approver (Embedded) (HR_NTF_EMBEDDED_REGION) attribute. This in turn defaults to:
    JSP:/OA_HTML/OA.jsp?OAFunc=-&HR_EMBEDDED_REGION-&NtfId=-&#NID-
    So essentially you can change the HR_APPROVER_NTF notification. The problem with changing this notification is that it's generic - it's used for all SSHR functions and not just Leave of Absence. That means you have to make other, more substantial, customizations to the workflow to ensure the changes you make only applies to LOA.
    The other option is to personalize the review page (ie, the region referenced in &HR_EMBEDDED_REGION) to include whatever messages you want. But that means they'll appear on the Review page and all LOA approval notifications and that might not be what you want.
    It's usually better to live with what Oracle deliver and find an alternative solution! What's the content of the message you want to include?

  • Why can't I "load earlier messages" via Text Message since the OS 5 upgrade?  They will not load!

    why can't I "load earlier messages" via Text Message since the OS 5 upgrade?  They will not load! Nor can I forward them to my email like I used to be able to do prior to the OS upgrade.  Please advise.

    "Why can't I load iOS 4.3.5 onto my older (2nd gen?) iPod touch? "
    Beacuse it does not support the new software.  2nd gen can only go to 4.2.1
    Identifying iPod models
    If you have a second gen, then you should be able to get 4.2.1.  What computer OS do you have?  What version of Itunes?

  • I am unable to recieve media messages via text message and the profile says its not verified. How do i fix this?

    i am unable to recieve media messages via text message and the profile in the settings says its not verified. How do i fix this?

    MMS is a carrier feature.  Contact the carrier to ensure you account is provisioned correctly.

  • Selecting Messages or Text Messages Icon takes me to the recent calls screen instead.

    Hi,
    This just started yesterday.
    When I select either Messages or Text Messages icon I am not taken to those apps, Instead I get the recent calls screen.
    Any suggestions?
    Thanks

    Try this -
    When you device is POWERED ON, remove the battery for a minute, and then reinsert the battery. This make a reboot to your device which resolves minor issues with the BlackBerry device.
    tanzim                                                                                  
    If your query is resolved then please click on “Accept as Solution”
    Click on the LIKE on the bottom right if the post deserves credit

  • I just got my iphone yesterday and have no idea how to work it since it doesn't come with an owners manuel. I was wondering if there were any way of saving the audio attachments from multimedia messages or text messages as ring tones??

    Is there any way to save audio attachments from multimedia messages or text messages as ringtones so I can set them to specific contacts on the iphone 3gs??

    You have to create iphone ringtones.
    There are many free ways to do this.  Google will find them.
    Click Support and the top of this page, then Manuals, then iphone user guide to find the manual, or look at your bookmarks on the iphone.

  • What can I do my iPhone 5 can not recieve picture messages from text messaging or send messages  . only time I can send picture messages or recieve picture messages through iMessage . What do I do ?

    My iphone 5 that I just got on March 14,2015 will not send or recieve  picture messages through text messaging I can only recieve and send picture messages from  iMessage

    Hi, cymoneW. 
    Thank you for visiting Apple Support Communities. 
    I understand that you are unable to send or receive picture messages via the cellular data network.  I would check to make sure that MMS is enable in settings.  This setting is located in Settings > Messages and MMS Messaging.  If the issue persists, try the troubleshooting steps in the article below. 
    If you can't send or receive messages on your iPhone, iPad, or iPod touch
    -Jason H. 

  • Is Message debatching in OSB using JMS transport possible

    hi
    I have message on JMS queue with multiple message(s) in it.
    Now my requirement is to read this JMS message as multiple internal message(s) from queue using OSB JMS transport.
    Is this possible from OSB JMS transport?
    Thanks in advance.
    -Ramakrishna Gilla

    No.. JMS transport wont automatically do it for you .. You will have to write a jms proxy service and have your logic to do the debatching.. alternatively you can use jms proxy as a pass thru service writing to the file system and then have the JCA file adapter to do the debatching..

  • Message application text messages on macbook pro from iPhone

    When I first got my macbook pro, my iphone text messages popped up in the Messages application on my macbook, but now they don't. How do I fix that?

    HI,
    If you mean SMS messages you can't.
    That is not part of the "Sync" function of the iMessages side of the Messages app on both Mac and iOS device.
    Basically the iOS version can send iMessages when it and the recipient are on Wifi.
    At other times it will send SMS messages (if this is enabled on both devices).
    However only the iMessages ones will sync to other iOS device and the Mac that are using the same Apple ID.
    NOTE the "Sync" is only Display on All Devices and each is then independent of anything you do to the messages on one device.
    9:51 pm      Friday; February 14, 2014
      iMac 2.5Ghz 5i 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • How do I disable audio messages in text messages?

    I am trying to disable the audio message option in text messages/iMessages. I have sent several accidentally and would prefer not to have this option. Do you know of a way to remove the ill-placed microphone button, as I can't image ever using this? Thanks.

    '''File|Save As|File''' then in the resulting dialogue, choose "text" file type when saving. Of course in doing so you lose all formatting and attachments.
    How do you search and index messages when saved as independent and free-standing text files? I keep email correspondence within the email client specifically because the tools to manage and search are effective and efficient. In fact I occasionally email myself something that needs to be preserved simply because as email it is so easy and convenient to find and retrieve. Searching for text in documents in Windows has become a chore.
    I'm not at all sure why you want to open email messages from other environments in Thunderbird, only to save them as text files. But have you tried "Edit As New" to see if that will offer other save options?
    What format(s) are these other messages from outlook, gmail, windows live saved in then?
    Don't forget simple old select all, copy and paste to save message content in any other document type.

  • Picture messaging via text messages to non-iPhone users.

    Hi I have an iPhone 4 with bell, I am unable to send pictures via text message/to non-iPhone users. I've been able to send them before using wifi, but not now. I've tried turning off iMessage, resetting network settings, mms on SMS on, I don't have data but wifi always worked before hand. I've tried sending to iPhones using text message, to HTC, and a blackberry but neither work and I cannot receive from the black berry nor HTC, please help, this is frustrating.

    MMS is a carrier feature, so make your queries to Bell.

  • TS2755 in iPhone text messaging, what does the break between messages mean ---------Text Message---------------

    In iPhone text messaging, what does it mean when you see the following between text messages:   ---------------Test Message---------------?  Does it mean that messages were lost or not delivered, or was there an interruption in service, or what?

    I'm thinking you meant Text Message, not Test Message.
    The separation is only to separate SMS or text messages from iMessage.

  • How to send message to a queue using JMS adapter

    Hi,
    I need to send messages to the default queue(demoQueue) available in the server using a JMS adapter in a BPEL process.
    I tried doing the same by using an invoke activity that invokes the JMS adapter service to send the message to the queue. I deployed this process in the server and gave an input to send it to the queue. The prcoess executed without any errors in the BPEL console.
    I am also using Hermes v1.0 to monitor the queue but it says that it dint receive any messages in the queue to read.
    I am sorry that i have restrictions from the client that i can't post the code here. Please let me know if anyone has got any solution or if you know any other way of doing the same.
    Thank you
    Message was edited by: prince
    the_prince

    You can use the following procedure :
    DBMS_AQ.ENQUEUE (
    queue_name IN VARCHAR2,
    enqueue_options IN enqueue_options_t,
    message_properties IN message_properties_t,
    payload IN "<ADT_1>",
    msgid OUT RAW);

Maybe you are looking for

  • Adding a table to an existing table results in wrong link

    This is the code being used to add a table to a report: private ISCRTable AddLinkTable(ILinkTable linkTable, string sourceTableAlias, ConnectionInfo connectionInfo) { // construct a new Table from its name ISCRTable newTable = new Table(); newTable.C

  • Error in mapping for floating Number calculation

    Hi All,    I have a small doubt in floating number calculation in Mapping. Actually i am geting a floating point number and calculating the SUM and generating the output. The input is of 2 decimal places(Ex: 26.02  and 26.03 ), but when it is adding

  • Blu Ray Workflow: FCP7 to Toast Titanium 11

    Good Afternoon, I'm trying to get a grip on the workflow for burning a Blu Ray Disc for a client. I'm working in FCP7 - have Roxio Toast Titanium 11 as well as a Buffalo Blu Ray Burner. Can anyone provide me a step by step for taking a finished FCP7

  • Carrying data between two webdynpro programs.

    Dear Experts, Consider the scenario and please give the solution. I waant to design a re-imbersment form, in ESS, where a employee submits a claim form, after which a workflow is triggerred in RFC givin mail to the approver. Then the approver logs in

  • Which process reads the spfile/init.ora file

    Hi, When we start the Oracle DB using "STARTUP" command, which background process reads the spfile/init.ora file? Also on startup, which process reads the control file?