Solved

Documnetation for tibrv.jar

Posted on 2008-09-29
3
854 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
nextBoolean(double p) for Random class 3 40
even odd program using while loop 3 40
expectj telnet failing 5 35
Unhandled exception type Exception 18 28
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
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:
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

775 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