cancel
Showing results for 
Search instead for 
Did you mean: 

JMS: Pub Sub (not PTP)

Former Member
0 Kudos

- What port do you use to call SAP JMS in PTP

- What port do you use to call SAP JMS in Pub Sub?

- Do I have to define a topic from inside SAP ?, or can I define a topic from a java program external to SAP?

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi John,

> - What port do you use to call SAP JMS in PTP

>

> - What port do you use to call SAP JMS in Pub Sub?

>

The answer to those two questions is that you always use the P4 port ot get the InitialContext. The you can lookup and use the corresponding connection factory (topic or queue). For general info on programming with the above models, see:

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/4a/d33cc46d204ad4aeafcd43fc325044/frameset.htm">Point-to-Point Model</a>.

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/aa/34518672fa44c79340c1f61556443e/frameset.htm">Publish-Subscribe Model</a>.

> - Do I have to define a topic from inside SAP ?, or

> can I define a topic from a java program external to

> SAP?

>

The answer to this question is contained in the reply to your other post in this forum.

Regards,

Ivo