How can I send and receive a message from  a queue using standalone program

Hi,
I want to write a standalone Java program which has to post a message to a queue and receive a message from a queue thats specified as a replyto queue.I want to have my application to be completely standalone without the need of a Application server.What all the Jars do I need to include in the application.My aim is to have the application standalone and portable so that the application runs on any machine that has a JRE.
Thanks in advance,
Prathima

Hi,
You can get quite simple standalone MQ Java programs from this site http://www.capitalware.biz/mq_code_java.html.
Also regarding the jars required for your application depends on the API being used. If you use MQI API few jars are required and if you decide to use JMS API you'll require few other jars. But you got to either install Websphere MQ Java Client, which will copy the jars to the respective location, or you can choose to copy the jars from some other machine manually.
Eventually, all the jars related to MQI and JMS API will reside under /usr/mqm/java/lib/ or /var/mqm/java/lib/ UNIX Environment. And in case of WINTEL, you should find the jars under C:\Program Files\IBM\WebSphere MQ\Java\lib.
Trust it clarifies...
Naren

Similar Messages

  • How can I send and receive a message as an SMS?

    I just got an iPhone 4S, an it's completely updated. I can send iMessages just fine when I am connected to wifi at home. I can't send an SMS at all, Cellular data or wifi. It shows that it's sent as an SMS(it's green and it says it's sent), but the receiver never receives it. Apparently they can't send an SMS to me either. It shows on their phone that it's sent, but I never receive it. Do I have to have my cellular data turned on to recieve an SMS? Even with it on, it doesn't work.

    Hi,
    You can get quite simple standalone MQ Java programs from this site http://www.capitalware.biz/mq_code_java.html.
    Also regarding the jars required for your application depends on the API being used. If you use MQI API few jars are required and if you decide to use JMS API you'll require few other jars. But you got to either install Websphere MQ Java Client, which will copy the jars to the respective location, or you can choose to copy the jars from some other machine manually.
    Eventually, all the jars related to MQI and JMS API will reside under /usr/mqm/java/lib/ or /var/mqm/java/lib/ UNIX Environment. And in case of WINTEL, you should find the jars under C:\Program Files\IBM\WebSphere MQ\Java\lib.
    Trust it clarifies...
    Naren

  • HT3529 How can i send and receive text messages with pictures?

    The camera button on the text screen won't let me send pictures. And I also can't recieve pictures.

    http://support.apple.com/kb/ts2755

  • On my iPad I can only send email and messages to apple products.how can I send and receive from other devices other than Apple?

    On my iPad I can only send email and messages to apple products.how can I send and receive from other devices other than Apple?

    Vallakat wrote:
    On my iPad I can only send email and messages to apple products.
    There is a huge difference between sending email and sending messages.
    Yes, I believe you when you say you can only send messages to other Apple products.  The iPad is not a telephone, and therefore, it cannot text message.  It can only iMessage, which means it can send and receive messages to/from other Apple products if they are on WiFi or an iMessage capable cellular network.
    Email, however, is a whole different category.  I don't really think you can only exchange email with other Apple products only.  Make sure you have correctly identified the symptoms.

  • How can i send and receive messages through CAN

    Hi,
    how can i send and receive messages using Vector CAN CARDXL

    As mentioned in this forum post, if you have a dll, this can easily be called from LabVIEW or CVI.
    I also went to the vector website and it does look like they have LabVIEW drivers available for download.
    Peter Flores
    Applications Engineer

  • HT1355 Can you send and receive text messages in airplane mode?

    Can you send and receive text messages while in airplane mode?

    No. Regular SMS's require a cellular connection. However, iMessage will work in Airplane Mode, as all that requires is an Internet connection. You can turn WiFi back on while in Airplane Mode.

  • Can't send and receive text messages

    Hello,
    For around 2-3 weeks I can't send and receive text messages. When I try to text somebody, the message appears as "Not delivered". On the ! there are only 2 options: Try again and Cancel. If I choose to "Try again", the results is the same: the message is not delivered.
    When somebody is trying to text me, the message appears as delivered on their phone, but does not reach mine.
    Please advice
    Regards
    Irina

    Yes, I contact them and the problem was on their side. Now my problem is solved

  • I can't send or receive text messages from non iphone users

    I can't send or receive text messages from non iphone users

    Under Settings - Messages, do it state Sens SMS ON? Should be (this applies to imessage but just in case).
    Same area, MMS Messaging is on? Should be.
    If all else fails, go into Settings General Reset - Reset Network Settings (this will lose WiFi info but fixes a lot of messaging errors).

  • Can i send and receive mms messages in my ipad ?

    how i can send and receive mms messages in my ipad?

    You should be able to do this through the iMessage app if the other person is connected through an apple device If not however there are plenty of apps on the app store that you would be able to use to send pics as long as the other user has a smart phone (does not have to be apple)... for example WhatsApp, Kik, Skype etc Hope that this helps!

  • Problem I-message? I can't send and receive the messages.

    from last Sunday I have a problem with I-message. It's impossible to send and receive the messages. what's the problem?

    I assume you have tried all of the troubleshooting here?
    iOS: Troubleshooting Messages
    It would also help to head to Settings -> General -> Date & Time and make sure it is set to Automatic.  You could also try using Google's DNS servers as doing so has resolved the issue for a number of users.  Head to Settings -> Wi-Fi and tap the > next to the network you are connected to.  Scroll down to the DNS fields and enter in8.8.8.8and 8.8.4.4.
    B-rock

  • How can we send and receive voice in same program

    Please can any one suggest me how to send and receive voice in the same program. I want both AVTransmit & AVReceive in the same program i tried it but its too difficult to do it.. Any one has got that code? And also i want my program to know if any third person is wanting to call me.. I mean how to recognise a new call. Please relpy to the following mail id.. Please i need it urgently..
    [email protected]

    Sir please execute this code.
    printf("I need it ");
    for(i=0;i<=infinity;i++)
    printf("V E R Y ");
    printf("U r g e n t");
    Now Please Send it to me sir.Please..Does not compile!

  • How can I send or receive picture messages?

    I have been unable to send or receive picture messages sinice I started to use my iphone 3

    Are you using the phone on a supported carrier? Have you checked with your carrier to make sure that your account is properly provisioned? Have you turned on MMS in Settings>Messages? What happens when you try to send?

  • I can't send and receive MMS messages

    Before I had my package, I was on my blackberry to mobicarte and when is mobicarte can not send mms, it is the rule. So I took a package, which includes sending SMS but also MMS. Except that my blackberry does not mail and do not receive. Is there a manipulation to solve this problem?
    please. 
    Ps : sorry for my bad english, but i'm french.

    Hello weiliaivy08
    Welcome to the Community
    If you are having problem in sending MMS from your device have a look at this Knowledge Base it may help :KB13667 But please reconfirm with your Carrier that proper plan has been activated on your device.
    Prince
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.

  • Send and Receive SMS messages from US to South Kor...

    I want to be able to receive and send SMS messages from my skype to my friend's cell phone in Korea
    When I send it they receive it, but they can't respond it back to me because it is an international text.
    Is there anyway that I can buy a Korean online number when I'm living in US?
    and with that number will I be able to talk and send/receive messages with my friend?

    @ sberman -Hi-I have my settings as you described and I do have a text msg. plan with At&T. I'm still puzzled, however; I had the same plan with he former phone-the ancient 3Gs and with it, I was able to send/receive text, photos, etc. to non-Iphone users via WiFi as long as I was home and within distance of the connection. I did not have to have my cell data "on" in order to send/receive anything. Everything transmitted through WiFi-and did not impact my  charges or cell data limits.. I know I must use the cell data ON when I'm away, but don't understand why/how I can't do the same as before I upgraded to the 5c. Admittedly, I am certainly NOT in the stratospheric league as so many phone experts here-I do make the attempt to understand, though..
    I read on one of the numerous help/answer sites that apparently someone else had registered the same complaint with Apple and now has a pending lawsuit-and hoping to get class-action status on the issue. I'm fairly sure this is the same-although I cannot be 100% certain given my lack of expertise.
    I certainly appreciate your rapid response-as a newbie to these communities, I didn't expect any answers to my questions so quickly.Thanks for taking the time to post-have a great weekend.

  • How can i send and receive a 2us digital pulse from Labview

    i want to communicate with a system using 2us pulse
    like if i want to send 11010100 then i will send
    |----2US----|----2US----|.............
    I      I___I       I_____________I         I______________I         I_______________________
    |----1-----|-------1-------|------0-------|--------1--------|------0-------|---------1---------|------0-------|------0-------|
    when i will send 11010100 to system the system will repond me by sending 10111001 usinf same 2us pulse as i have shown above.
    I have pci-6025E+CB 50LP connector block+Cable and LABVIEW 10 installed in my PC.
    Can this be done using NI's labview and PCI card ?
    if yes then how ?
    i m new to NI and this is my first Project using NI's hardware.

    The fastest I would trust software timing is in the tens of milliseconds.  And even then, don't count on exactness.  The software timed DIO are best used for static applications (only change every once in awhile, usually controlling a relay or the like).  From my quick search, you will want something like the PCI-6220.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

Maybe you are looking for

  • [JS] CS5 Add Group to Rectangle

    I'm trying to create a group inside a `Rectangle` page item, preferably without resorting to contents.select(); app.cut() container.select(); app.pasteInto() hackery. Please find below my progress up to the point, where I'm stuck. 1. testing the conc

  • C4506E and C6509E can VSS together

    Hi all: I have a C4506E with WS-X45-SUP7-E supervisor module and C6509E with VS-SUP2T-10G module, can these two switches use VSS to link together? Thanks!

  • How do I specify exact corners with the rectangular selection tool?

    Suppose I have an image 2000 pixels wide by 1000 pixels high.  Pixel (0,0) is at the top left as you view the image.  Using the rectangular selection tool, how can I specify an exact area to select?  Say, for example, I want to select the area define

  • What is Logic used in  ARXSGPO Report

    Hi all, Can any one tell me what exactly ARXSGPO Report(AR Statement) does , i assume that it is selecting data from tables mentioned below and storing it in some temp table , when the report is ran , after its completion ,data is purged from that te

  • Caution: Info structures S026 and S226 are active for repetitive mfg

    Hi, When I run the standard report MCRO - Material Usage Analysis: Repetetive Manufacturing, I am getting the message Caution: Info structures S026 and S226 are active for repetitive mfg How to overcome this. thanks and regards muru