This commit is contained in:
parent
4a8e111a18
commit
db5e7a535e
@ -10,8 +10,6 @@ ReturnValue_t PusLiveDemux::demultiplexPackets(StorageManagerIF& tmStore,
|
||||
size_t tmSize) {
|
||||
ReturnValue_t result = returnvalue::OK;
|
||||
for (unsigned int idx = 0; idx < destinations.size(); idx++) {
|
||||
sif::debug << "Destination size: " << destinations.size() << std::endl;
|
||||
sif::debug << "Sending" << destinations[idx].name << std::endl;
|
||||
const auto& dest = destinations[idx];
|
||||
bool setOrigStoreId = false;
|
||||
if (destinations.size() > 1) {
|
||||
@ -30,13 +28,12 @@ ReturnValue_t PusLiveDemux::demultiplexPackets(StorageManagerIF& tmStore,
|
||||
}
|
||||
} else {
|
||||
setOrigStoreId = true;
|
||||
sif::debug << "Setting org store ID" << std::endl;
|
||||
}
|
||||
} else {
|
||||
setOrigStoreId = true;
|
||||
}
|
||||
if(setOrigStoreId) {
|
||||
message.setStorageId(origStoreId);
|
||||
if (setOrigStoreId) {
|
||||
message.setStorageId(origStoreId);
|
||||
}
|
||||
result = ownerQueue.sendMessage(dest.queueId, &message);
|
||||
if (result != returnvalue::OK) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user