New Ranks & Badges For The Community!
Notice something different? The ranks and associated badges have gone "Star Fleet". See what they all mean HERE
Highlighted
Absent Member.. Absent Member..
Absent Member..
510 views

message annotations via jopcsrvapi

Hello,

 

is there way, howto get annotations related to message using jopcsrvapi in HPOM 9.x ?

 

Thx,

R

0 Likes
3 Replies
Highlighted
Absent Member.
Absent Member.

Hello.

 

I assume you mean HP OMU and there's no API for it (there's a C variant only).

 

Regards,

    Goran

Highlighted
Absent Member.. Absent Member..
Absent Member..

@Goran

 

thx for reply, for a while i was hoping for something like:

                    JOpcServerMessage message = new JOpcServerMessage(conn);
                    message.setMsgid("7dc34034-d3c7-71e4-03f2-c31c67f50000");
                    message.get();
                    message.getString(JOpcApiDefinition.OPCDATA_ANNOTATION);

but it is not returning anyting....

 

since description of getString function says: function ...opcdata_get_str() returns a pointer to the desired string value...

 

but probably in java api OPCDTYPE_ANNOTATION data structure just isn't propagated...

 

0 Likes
Highlighted
Absent Member.
Absent Member.

Hello.

 

Correct, it only sets the number of annotations field, but not annotations themselves.

 

Regards,

    Goran

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.