List of commits:
Subject Hash Author Date (UTC)
RabbitMQ test.First attempt. 876d29c668f5e027a820f3ff48a6ca080fc530c2 Jan Allersma 2017-09-19 13:47:31
Initial commit 6a565c61a3337232d0e7a136ffb2f49b431c2a40 Jan Allersma 2017-09-11 06:52:38
Commit 876d29c668f5e027a820f3ff48a6ca080fc530c2 - RabbitMQ test.First attempt.
Author: Jan Allersma
Author date (UTC): 2017-09-19 13:47
Committer name: Jan Allersma
Committer date (UTC): 2017-09-19 13:47
Parent(s): 6a565c61a3337232d0e7a136ffb2f49b431c2a40
Signer:
Signing key:
Signing status: N
Tree: 22c0b38a7a6eb4a4997996ec8e38e716475e08a5
File Lines added Lines deleted
simulatie/rabbit/helloworld_reciever.py 20 0
simulatie/rabbit/helloworld_sender.py 18 0
File simulatie/rabbit/helloworld_reciever.py added (mode: 100644) (index 0000000..78e56a8)
1 #!/usr/bin/env python
2
3 import pika
4
5 connection = pika.BlockingConnection(pika.ConnectionParameters(host='127.0.0.1'))
6 channel = connection.channel()
7
8 channel.queue_declare(queue='h')
9
10 def callback(ch, method, prop, body)
11 print('%r ontvangen' % body)
12
13 channel.basic_consume (
14 callback,
15 queue='h',
16 no_ack=True
17 )
18
19 print('Waiting for a sign..')
20 channel.start_consuming()
File simulatie/rabbit/helloworld_sender.py added (mode: 100644) (index 0000000..6cc1fa0)
1 #!/usr/bin/env python
2
3 import pika
4
5 connection = pika.BlockingConnection(pika.ConnectionParameters('127.0.0.1'))
6 channel = connection.channel()
7
8 channel.queue_declare(queue='h')
9
10 channel.basic_publish (
11 exchange='',
12 routing_key='h',
13 body='Hallo Wereld!'
14 )
15
16 print('Msg sent.')
17
18 connection.close()
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/kapstok/NHL-SoftDev

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/kapstok/NHL-SoftDev

Clone this repository using git:
git clone git://git.rocketgit.com/user/kapstok/NHL-SoftDev

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main