#AB

RabbitMQ整合Spring Booot【消费者补偿幂等问题】

 如果消费者运行时候报错了packagecom.toov5.msg.SMS;importorg.springframework.amqp.rabbit.annotation.RabbitHandler;importorg.springframework.amqp.rabbit.annotation.Rabbi...

没有连接的AMQP / RabbitMQ通道何时死亡?(when does an AMQP/RabbitMQ channel with no connections die?)

 IhaveasimpleRabbitMQtestprogramrandomlyenqueuingmessages,andanotherreadingthem,allusingSpring-AMQP.Iftheconsumerdies(forexamplekillingaprocesswithouthavin...

注解 @EnableFeignClients 工作原理

 概述在Springcloud应用中,当我们要使用feign客户端时,一般要做以下三件事情:使用注解@EnableFeignClients启用feign客户端;示例:@SpringBootApplication@EnableFeignClientspublicclassTestApplication{publ...

@EnableFeignClients 客户端详细

在Springcloud应用中,当我们要使用feign客户端时,一般要做以下三件事情:1.使用注解@EnableFeignClients启用feign客户端;示例:@SpringBootApplication@EnableFeignClientspublicclassTestApplication{publicstat...

alibaba druid 在springboot start autoconfig 下的bug

标签(空格分隔):druidspringbootstartautoconfig背景发现、分析过程总结最近在使用alibabadruid进行多数据源连接的时候无意中发现一个小bug,已经提交githubissue官方已经fix。issue地址:https://github.com/alibaba/druid/issues...

CompletableFuture 专题

 /***@Auther:cheng.tang*@Date:2019/3/2*@Description:*/packagecom.tangcheng.learning.concurrent;importlombok.extern.slf4j.Slf4j;importorg.junit.Test;importj...
代码星球 代码星球·2020-04-04

Code First Migrations: Making __MigrationHistory not a system table

https://blog.oneunicorn.com/2012/02/27/code-first-migrations-making-__migrationhistory-not-a-system-table/ CodeFirstMigrations usesatablecalled _...

aufomaper Queryable Extensions ProjectTo

WhenusinganORMsuchasNHibernateorEntityFrameworkwithAutoMapper'sstandardMapper.Mapfunctions,youmaynoticethattheORMwillqueryallthefieldsofalltheobjectswithinagrap...

C# 向IQueryable添加一个Include扩展方法

usingSystem;usingSystem.Data.Objects;usingSystem.Linq;namespaceOutOfMemory.Codes{///<summary>///Addsextensionmethodstothe<seecref="IQueryable{T}"/>c...

trace enabled

<system.web><traceenabled="true"localOnly="true"pageOutput="true"/>...
代码星球 代码星球·2020-04-04

Aspect Oriented Programming using Interceptors within Castle Windsor and ABP Framework AOP

http://www.codeproject.com/Articles/1080517/Aspect-Oriented-Programming-using-Interceptors-witDownloadsampleapplication (orseethelateston Github)Intro...

Database Initialization Strategies in Code-First:

YoualreadycreatedadatabaseafterrunningyourCode-Firstapplicationthefirsttime,butwhataboutthesecondtimeonwards??Willitcreateanewdatabaseeverytimeyouruntheapplicat...

The method below converts an array of objects to a DataTable object in C#.

http://www.c-sharpcorner.com/blogs/dynamic-objects-conveting-into-data-table-in-c-sharp1publicstaticDataTableGetDataTableFromObjects(object[]objects){if(objects...

Enabling and Mounting NFS on CoreOS

http://blog.scottlowe.org/2015/02/20/config-mount-nfs-coreos/#cloud-configwrite-files:-path:/etc/conf.d/nfspermissions:'0644'content:|OPTS_RPC_MOUNTD=""coreos:u...

table td 固定宽度

当table的td设置宽度为px的时候,td依旧会按照百分比的形式展示没办法固定宽度这个时候在table上添加style  ="table-layout:fixed;"可以固定某一列的宽度解决了td随内容长度变化<html><head><style>table,t...
代码星球 代码星球·2020-04-04
首页上一页...354355356357358...下一页尾页