#include <apr-1/apr_hash.h>
#include <apr-1/apr_time.h>
#include <inttypes.h>
#include <stdint.h>
#include <stdio.h>
#include "stomp_status.h"
Go to the source code of this file.
#define STOMP_CREATION_TIME "creation" |
This type holds application properties set at the exchange level (in other words, it sets properties that get appended as STOMP headers in the transaction). The exchange properties are durable throughout the message exchange lifetime, therefore they should be cleared if undesired for some particular transaction.
Adds a property to the exchange
- Parameters
-
properties | the properties data structure to be added |
name | the name of the property |
value | the value of the property |
Copyright 2016 Otavio Rodolfo Piske
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Clears the exchange properties
- Parameters
-
properties | the properties data structure to be read |
Gets a property from the exchange
- Parameters
-
properties | the properties data structure to be read |
name | the name of the property |
- Returns
- value the value of the property
Appends the creation time to the exchange properties. It will be added in the transaction as "creation"
- Parameters
-
properties | the properties data structure to be read |