Skip to content

Instantly share code, notes, and snippets.

View splatch's full-sized avatar

Łukasz Dywicki splatch

View GitHub Profile
splatch / socketcan@.service
Last active November 1, 2020 21:50 — forked from sebastianhaas/socketcan-interface.service
An example systemd template unit file to setup a SocketCAN interface on startup
View socketcan@.service
Description=SocketCAN interface %i with a baudrate of 500000
ExecStart=/sbin/ip link set %i type can bitrate 500000 ; /sbin/ifconfig %i up
ExecReload=/sbin/ifconfig %i down ; /sbin/ip link set %i type can bitrate 500000 ; /sbin/ifconfig %i up
ExecStop=/sbin/ifconfig %i down
View datasource.xml
<?xml version="1.0" encoding="UTF-8"?>
Licensed to the Austrian Association for Software Tool Integration (AASTI)
under one or more contributor license agreements. See the NOTICE file
distributed with this work for additional information regarding copyright
ownership. The AASTI licenses this file to you 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
View gist:4346957
18:26:42,084 INFO [SwitchYardCamelContext] Route: direct:inOut started and consuming from: Endpoint[direct://inOut]
org.switchyard.HandlerException: java.lang.RuntimeException: Runtime error
18:26:42,148 INFO [SwitchYardCamelContext] Apache Camel 2.10.0 (CamelContext: camel-1) is shutting down
at org.switchyard.bus.camel.audit.FaultProcessor.detectHandlerException(
at org.switchyard.bus.camel.audit.FaultProcessor.handle(
at org.switchyard.bus.camel.audit.FaultProcessor$1.done(
at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(
at org.apache.camel.util.AsyncProcessorHelper.process(
at org.apache.camel.processor.DelegateAsyncProcessor.processNext(