Solved

Documnetation for tibrv.jar

Posted on 2008-09-29
3
859 Views
Last Modified: 2013-12-29
I am trying to add a name and a field ID to a TibrvMsg.  How do I get this done?
Is there any documentation for this class/jar ?

I need the TIBCO payload to look like the following:
eg: {MsgTyp[1000]="REG" Symbol[1001]="MSFT"  User[1006]="CE" SymTyp[1009]="D"}


Following is the code I am trying, but without Javadocs I am shooting in the dark.
msg.setSendSubject("STAGE.PS.REQ");
//msg.add(arg0, arg1, arg2, arg3)
msg.add("MsgTyp","REG",(short)1000);
msg.add("User","Flrview",(short)1006);
msg.add(" SymTyp","D",(short)1009);
//msg.add("1010","Y");
msg.setReplySubject("STAGE.FV.MKTDATA");
msg.add(" Symbol",symbol,(short)1009);
transport.send(msg);

Open in new window

0
Comment
Question by:WeedenCo
3 Comments
 
LVL 5

Accepted Solution

by:
muktajindal earned 125 total points
ID: 22603257
Attaching some of the javadocs for TibrvMsg. To view the files, unzip the attached zip file and change the extension of all the files in it from ".txt" to ".mht".

HTH,
Mukta.

tibrv-msg.zip
0

Featured Post

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
couple of eclipse 5 52
JAVA API design with micro service cloud in mind 1 82
ejb message driven bean mdb creation steps 2 36
jsp error 6 47
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question