Skip to content
This repository has been archived by the owner on Jan 11, 2019. It is now read-only.

Sylake/AkeneoProducerBundle

Repository files navigation

This Akeneo producer bundle is deprecated & supports Akeneo 1.7 only

AkeneoProducerBundle

Makes Akeneo produce AMQP messages pushed through RabbitMQ.

Installation

  1. Require this package:
$ composer require sylake/akeneo-producer-bundle
  1. Add bundles to AppKernel.php of existing Akeneo application:
protected function registerProjectBundles()
{
    return [
        new \OldSound\RabbitMqBundle\OldSoundRabbitMqBundle(),
        new \Sylake\AkeneoProducerBundle\SylakeAkeneoProducerBundle(),
    ];
}
  1. Configure RabbitMQ default connection:
# app/config/config.yml

old_sound_rabbit_mq:
    connections:
        default:
            host: 'localhost'
            port: 5672
            user: 'guest'
            password: 'guest'
  1. Configure locales (optional) (default: en_GB, de_DE):
# app/config/config.yml

sylake_akeneo_producer:
    locales:
        - 'en_GB'
        - 'de_DE'

Usage

  1. Perform export via UI or CLI:
$ app/console akeneo:batch:create-job "Sylake - Akeneo Producer" sylake_akeneo_producer export sylake_akeneo_producer
$ app/console akeneo:batch:job sylake_akeneo_producer

You can also export just one product by its SKU by running:

$ app/console sylake:producer:export-product PRODUCT_SKU

About

[DEPRECATED] Produces messages consumed by Sylake/SyliusConsumerBundle.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages