Skip to content

Commit

Permalink
Merge pull request #2427 from spryker/feature/acp-383/mb2-enablement-…
Browse files Browse the repository at this point in the history
…docs

ACP-383: adjusted PBCs docs
  • Loading branch information
lenadoc authored Jan 26, 2024
2 parents dc6e6e8 + 7897dfe commit 7215ed0
Show file tree
Hide file tree
Showing 9 changed files with 982 additions and 364 deletions.
2 changes: 2 additions & 0 deletions _data/sidebars/acp_user_sidebar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,6 @@ entries:
url: /docs/acp/user/sync-api.html
- title: Async API
url: /docs/acp/user/async-api.html
- title: Receive ACP messages
url: /docs/acp/user/receive-acp-messages.html

252 changes: 66 additions & 186 deletions docs/acp/user/app-composition-platform-installation.md

Large diffs are not rendered by default.

31 changes: 31 additions & 0 deletions docs/acp/user/receive-acp-messages.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
title: Receive ACP Messages
description: Find out how you can receive ACP messages in SCCOS.
template: howto-guide-template
last_updated: Jan 09, 2024
---

This document describes how to receive ACP messages in SCCOS.

To receive messages from all the channels, run the following command:
```bash
console message-broker:consume
```

To receive messages from a specific channel, run the following command:

```bash
console message-broker:consume {channel-name} # {channel-name} is the name of the channel, like `asset-commands`.
```

This command must be executed periodically. To set up this periodic execution, configure Jenkins in `config/Zed/cronjobs/jenkins.php`:

```php
$jobs[] = [
'name' => 'message-broker-consume-channels',
'command' => '$PHP_BIN vendor/bin/console message-broker:consume --time-limit=15 --sleep=5',
'schedule' => '* * * * *',
'enable' => true,
'stores' => $allStores,
];
```
Loading

0 comments on commit 7215ed0

Please sign in to comment.