Baanboard.com

Go Back   Baanboard.com

User login

Frontpage Sponsor

Main

Baanboard at LinkedIn


Poll
What actions do you take to ensure compliance with the sanction/embargo lists published by the EU and the US?
don't know what you are talking about
55%
we are scanning customers, suppliers and employees using own programs on a regular basis
12%
each delivery/purchase adress is checked immediately with own programs
2%
we are using third party software for this purpose
10%
we simply don't bother
20%
Total votes: 49

Reference Content

 
java.install.listener
By patvdv at 26 Feb 2008 - 21:57


java.install.listener

Syntax

long java.install.listener(long queue.id, [long become.owner])

Description

Installs a listener at the BaanERP side. Whenever a message arrives on the queue specified by queue.id, the 3GL process will be notified by an EVT_CHANNEL_EVENT event. For installation of a listener at the Java side, see the Java IQeueListener interface definition.

Note

The listener will immediately start processing buckets, including the buckets already present within the queue.

Arguments

Queue.id

id of the queue

become.owner

  • 1 (default) if the 3GL process becomes the new owner of the queue itself. This basically means the queue will be removed whenever the 3GL process that called this function exits.
  • 0: the process will NOT become the new owner of this queue. The queue is removed automatically when the 3GL process that called java.new.queue exists.

Return codes

0 upon success
-1 JavaVM not supported on this platform
-4 incorrect queue ID
-5 unable to install the listener on the queue

Related topics


0
No votes yet


All times are GMT +2. The time now is 23:26.


©2001-2008 - Baanboard.com - Baanforums.com